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 | Example |
---|---|---|---|---|
name | string | TRUE | The name of the tool | Weather Fetcher |
definition | components.ToolDefinition | TRUE | A tool that can be called from an LLM during the conversation. See https://docs.syllable.ai/Resources/Tools. | |
serviceId | number | TRUE | The service to which this tool belongs | |
id | number | TRUE | The ID of the tool | |
lastUpdatedComments | string | FALSE | Update comments | |
serviceName | string | FALSE | The name of the service to which the tool belongs | |
lastUpdated | Date | TRUE | The timestamp of the most recent update to the service | |
lastUpdatedBy | string | TRUE | The email of the user who last updated the tool | user@email.com |