mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
34 lines
993 B
Markdown
34 lines
993 B
Markdown
# ToolInfo
|
|
|
|
Information about the tool used for building prompts
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**description** | **str** | |
|
|
**name** | **str** | |
|
|
**parameters** | **List[str]** | |
|
|
**permission** | [**PermissionLevel**](PermissionLevel.md) | | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
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)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|