pub fn cap_tool_input(input: &Value) -> ValueExpand description
The capped hook view of a tool input: every top-level string field over
HOOK_PAYLOAD_CAP is clipped and marked. Nested values are left alone —
tool inputs are flat by convention, and a hook that needs more should read
the file itself.