> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.formantai.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.formantai.com/_mcp/server.

# Tools

> Let agents call your APIs or execute structured actions.

Tools extend an agent beyond conversation. Use tools to look up data, create tickets, update CRM records, book appointments, transfer calls, or trigger workflows.

## Tool types

| Type          | Use when                                                                                |
| ------------- | --------------------------------------------------------------------------------------- |
| Webhook tool  | The agent should make an HTTP request to your system during a call.                     |
| Function tool | You want a structured function definition with typed arguments and controlled messages. |

## Best practices

* Make tool names specific and action-oriented.
* Keep schemas small and explicit.
* Return short, machine-readable results.
* Add safe fallback messages for tool failures.
* Avoid returning sensitive data unless the agent is allowed to speak it.

Webhooks notify you after call events. Tools let the agent call your systems during the conversation.