tools that your agent uses in production in the config file for running evaluating your LLM and running simulations via CLI. For a primer on tools, refer to Tools.
Each tool has:
| Key | Type | Description |
|---|---|---|
type | "structured_output" or "webhook" | Either a structured output tool or a webhook tool |
name | string | Unique identifier for the tool (ideally, an intuitive name that matches its purpose) |
description | string | Description shown to the LLM (explains the purpose of the tool and when it should be called) |
parameters | array | Schema of the expected output (required when type is "structured_output") |
webhook | object | Configuration for webhook tools (required when type is "webhook") |
Structured output tools
Structured output tools extract structured data from the conversation. The agent calls the tool and returns the data in the format defined by theparameters schema.
parameters schema.
Webhook tools
Webhook tools make HTTP requests to external APIs. When the agent calls a webhook tool, Calibrate makes the HTTP request and returns the response to the agent.webhook object has:
| Key | Type | Description |
|---|---|---|
method | string | HTTP method: GET, POST, PUT, PATCH, DELETE |
url | string | The endpoint URL |
timeout | number | Time in seconds to wait for the response |
headers | array | (Optional) headers to send with the request |
queryParameters | array | (Optional) query parameters (each follows the same schema as parameters) |
body | object | (Optional) request body (required for POST, PUT, PATCH methods) |