compress_tool_definitions
Shrink MCP tool descriptions and JSON schemas to cut context cost without changing how agents call them. Returns the compressed definitions plus exact token savings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| definitions | Yes | JSON array of tool definitions to compress. Each item: {name, description, inputSchema}. Accepts a JSON array, or a JSON string containing one. |