Skip to main content

Module tool_io

Module tool_io 

Expand description

Tool input/output capture: leak-scan + truncation + denylist.

Structs§

ToolIoCapture
Result of a tool-io capture pass. The string in text is what should land in the attributes.tool_input (or tool_output) field. Metadata goes into original_bytes / truncated so the dashboard can render a “truncated” badge.

Functions§

capture_llm_request
capture_tool_input
Capture redacted tool input.
capture_tool_output
Capture redacted tool output. Same shape as capture_tool_input.