Custom tools let you define a tool interface (name + JSON schema) and let the assistant choose when to call it. When it calls your tool, it returns aDocumentation Index
Fetch the complete documentation index at: https://docs.zylon.ai/llms.txt
Use this file to discover all available pages before exploring further.
tool_use content block with structured input.
Prerequisites
- An API token. See Backoffice Developer Console.
Requirements
In thetools array, provide:
name: unique tool namedescription: what the tool doesinputSchema: JSON Schema describing the tool input
Basic request and response
This example validates a request that defines a tiny calculator tool and forces its use.POST /messages. When the assistant returns a tool_use block, execute your tool and include a tool_result block in the next message.