Skip to main content
Upcoming release — Zylon 1.58These docs are published ahead of release so you can prepare your API integrations. The release image is not yet available. For installations running 1.57, use the 1.57 documentation.
Tools let the assistant run targeted operations (like searching artifacts, analyzing tabular data, or extracting a web page) as part of a message response. You enable tools by adding three fields to a POST /messages request:

Prerequisites

Basic request and response

When you’re iterating on tool configuration, start with POST /messages/validate to validate your request body without running a model. This example enables the web fetch tool:
To actually run the request, send the same body to POST /messages.

Built-in tools

Zylon includes a set of built-in tools you can enable by name + type: Guides:

How built-in tool results are returned

Zylon runs built-in tools on the server, inside the same request. Each call appears in the response as a server_tool_use block (ID prefix srvtoolu_), followed by its result block:
Don’t send results back for built-in tools: Zylon has already run them. stop_reason: "tool_use" and tool_result blocks apply only to custom tools. Each tool guide shows its result format.

Custom tools

Custom tools let you define your own tool interface using JSON Schema. When the assistant chooses your tool, it returns a tool_use content block with structured input. See: Custom tools

Common mistakes

  • Using the wrong field name: tool schemas use inputSchema (not input_schema).
  • Missing tool context: semantic_search_v1, tabular_analysis_v1, and database_query_v1 need tool_context.
  • Forgetting auth: include Authorization: Bearer ... on every request.

Next steps

  • Learn the Messages request format: Messages
  • Ingest content for retrieval and analysis: Artifacts