Files
goose/api_clients/python/docs/Tool.md
2025-10-02 20:13:20 -04:00

1.0 KiB

Tool

Properties

Name Type Description Notes
annotations ToolAnnotations [optional]
description str [optional]
icons List[Icon] [optional]
input_schema Dict[str, object]
name str
output_schema Dict[str, object] [optional]
title str [optional]

Example

from goose_api.models.tool import Tool

# TODO update the JSON string below
json = "{}"
# create an instance of Tool from a JSON string
tool_instance = Tool.from_json(json)
# print the JSON string representation of the object
print(Tool.to_json())

# convert the object into a dict
tool_dict = tool_instance.to_dict()
# create an instance of Tool from a dict
tool_from_dict = Tool.from_dict(tool_dict)

[Back to Model list] [Back to API list] [Back to README]