optimize_content
Optimize JSON or YAML content to reduce token consumption using TOON format for efficient processing.
Instructions
Optimize structured data content for token efficiency using TOON format
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>"
},
"name": "optimize_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | The content to optimize (JSON or YAML) | |
| toolName | No | Name of the tool that generated this content |