Tools
Let agents call your APIs, connected apps, MCP servers, calendars and more during a conversation.
Tools let an agent act during a conversation. Add them to the agent's tools list as {"type", "name", "config"}; GET /agents/tools returns the catalogue with what each needs.
| Type | What the agent can do |
|---|---|
http | call a REST endpoint you configure: method, url_template, headers, body_template, parameters the model fills in |
connector | use a connected app (HubSpot, Razorpay, Shopify, Slack, …) set up under Integrations (integration_id, actions) |
mcp | use tools from an MCP server you registered (/agents/integrations/mcp-servers) |
calendar | check free times and book, move or cancel appointments on a connected Google or Microsoft calendar |
callback | on phone calls, schedule a call back when the caller asks (see Callbacks) |
web_search, web_fetch | search the web, read a public page |
send_email, send_sms | send the person a summary, address or booking reference |
handoff | pass to a person: a phone transfer on calls, a Handoffs inbox item in chat |
workflow | run your published workflows mid-conversation (see Workflows during calls) |
calculator, datetime | arithmetic and the current date and time |
An HTTP tool#
curl -X PATCH https://api.voicemint.io/api/v1/agents/AGENT_ID \
-H "Authorization: Bearer $VOICEMINT_API_KEY" -H "Content-Type: application/json" \
-d '{"tools": [{"type": "http", "name": "order_status", "config": {
"description": "Look up an order by its id",
"method": "GET",
"url_template": "https://api.example.com/orders/{order_id}",
"headers": {"Authorization": "Bearer YOUR_ORDER_API_TOKEN"},
"parameters": {"order_id": {"type": "string", "description": "the order id, like A-77"}}
}}]}'HTTP tools only call public addresses (private and internal ones are refused), and secrets in headers are stored encrypted. Keep tool descriptions short and specific: the model decides when to call a tool from its description.