Skip to main content

cap_tool_input

Function cap_tool_input 

Source
pub fn cap_tool_input(input: &Value) -> Value
Expand 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.