pub fn pre_tool_use_request(input: &Value) -> Result<PolicyHookRequest>Expand description
Read a Codex PreToolUse hook input. Bash and apply_patch carry
their text in tool_input.command; an MCP tool is named
mcp__<server>__<tool>.
pub fn pre_tool_use_request(input: &Value) -> Result<PolicyHookRequest>Read a Codex PreToolUse hook input. Bash and apply_patch carry
their text in tool_input.command; an MCP tool is named
mcp__<server>__<tool>.