context_normalize
Strip, clean, and compress a non-teamshared tool output for agent context.
Trims recall-style payloads, shrinks large JSON/logs, and stores originals in CCR when compressed. Prefer letting MCP middleware handle teamshared tools automatically; call this for Shell, Grep, or other harness tools.
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": {
"tool_name": "<tool_name>",
"output": "<output>"
},
"name": "context_normalize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | Raw tool output string (usually JSON). | |
| tool_name | Yes | Name of the tool whose output you are trimming. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||