mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
880 B
880 B
ToolResponse
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| id | str | ||
| tool_result | object |
Example
from goose_api.models.tool_response import ToolResponse
# TODO update the JSON string below
json = "{}"
# create an instance of ToolResponse from a JSON string
tool_response_instance = ToolResponse.from_json(json)
# print the JSON string representation of the object
print(ToolResponse.to_json())
# convert the object into a dict
tool_response_dict = tool_response_instance.to_dict()
# create an instance of ToolResponse from a dict
tool_response_from_dict = ToolResponse.from_dict(tool_response_dict)