mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
993 B
993 B
ToolInfo
Information about the tool used for building prompts
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| description | str | ||
| name | str | ||
| parameters | List[str] | ||
| permission | PermissionLevel | [optional] |
Example
from goose_api.models.tool_info import ToolInfo
# TODO update the JSON string below
json = "{}"
# create an instance of ToolInfo from a JSON string
tool_info_instance = ToolInfo.from_json(json)
# print the JSON string representation of the object
print(ToolInfo.to_json())
# convert the object into a dict
tool_info_dict = tool_info_instance.to_dict()
# create an instance of ToolInfo from a dict
tool_info_from_dict = ToolInfo.from_dict(tool_info_dict)