Context Normalize
context_normalizeStrip, 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.
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 | |||