Toon (Token-Oriented Object Notation) is a compact, human-readable encoding designed for LLM tool results. Prefer it when an agent will consume the payload; prefer JSON when a conventional HTTP client or script will parse it.
Error responses on the API stay JSON even when
format=toon, so clients can always parse failures the same way.
REST API
Addformat=toon or format=json (default) to any tools endpoint:
format=toon, the response body is Toon text with Content-Type: text/toon; charset=utf-8.
See also Tools Search and Tools Docs Search.
MCP
Each tool accepts an optionalformat argument. Omit it to keep the default (toon):
search_tools, get_tool_context, search_docs, and test_tool.
CLI
--format wins over --json and over the pipe default. See UseAgents CLI.