Components
ToolResponse
A tool is a function that an agent can call to perform actions like accessing databases, making API calls, or processing data. For an agent to have access to a tool, the prompt associated with that agent should be linked to the tool and include instructions to use it.
Example Usage
Fields
Field | Type | Required | Description |
---|---|---|---|
name | string | TRUE | The name of the tool |
definition | components.ToolDefinition | TRUE | A tool that can be called from an LLM during the conversation. |
serviceId | number | TRUE | The service this tool belongs to |
id | number | TRUE | The ID of the tool |
serviceName | string | FALSE | The name of the service to which the tool belongs |