Compact Tool Payload Locally
monaa_compact_payloadCompacts verbose tool output locally by stripping node_modules, target, .git bloat, redundant whitespace, and loop echoes to reduce token usage without cloud calls.
Instructions
Deterministically compacts verbose tool output by stripping node_modules, target, .git bloat, redundant whitespace, and loop echoes locally (40%-65% typical savings, 0 cloud calls).
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": {
"payload": "<payload>"
},
"name": "monaa_compact_payload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Raw text or tool output payload to compact locally. | |
| record_savings | No | Set true to add these token savings into the local savings ledger. |