AI-Friendly Tool Descriptions
https://toonverter.com/api
A free API for converting between JSON and TOON (Token-Oriented Object Notation) formats. TOON reduces token usage by 30-60% compared to JSON for AI/LLM applications.
POST /api/convertinput_data (string, required): The JSON or TOON string to convertdirection (string, required): Either "json_to_toon" or "toon_to_json"success (boolean): Whether the conversion was successfuloutput (string): The converted output stringoutput_format (string): Either "json" or "toon"message (string): Status message{
"input_data": "{\"name\": \"Alice\", \"age\": 30}",
"direction": "json_to_toon"
}
{
"success": true,
"output": "name: Alice\nage: 30",
"output_format": "toon",
"message": "Conversion successful"
}
POST /api/validateinput_data (string, required): The JSON or TOON string to validatedirection (string, required): Either "json_to_toon" (validates JSON) or "toon_to_json" (validates TOON)valid (boolean): Whether the input is validmessage (string): Validation result message{
"input_data": "{\"name\": \"Alice\"}",
"direction": "json_to_toon"
}
{
"valid": true,
"message": "Input is valid"
}
TOON - Token-Oriented Object Notation is a compact, human-readable serialization format designed to reduce token usage when passing structured data to Large Language Models (LLMs).
{
"users": [
{"id": 1, "name": "Alice", "role": "admin"},
{"id": 2, "name": "Bob", "role": "user"}
]
}
users[2]{id,name,role}:
1,Alice,admin
2,Bob,user
To get the raw JSON response for programmatic use, make a GET request to /api/ai-tools with Accept: application/json header,
or access it directly - it will return JSON by default for API clients.