Skip to content llms.txt

input_modification

Whether hooks can modify tool input arguments before the tool executes. Safety-critical capability — silent degradation creates false security. Minimum qualification: supported when the provider provides any mechanism to modify tool input arguments before execution (e.g., hookSpecificOutput.updatedInput, plugin-mutable args, or equivalent).

Type: bool Content type: hooks

ProviderSupportedMechanism
claude-codehook_input_modification: PreToolUse returns updatedInput in hookSpecificOutput; entire input object replaced; compatible with all permissionDecision values except defer
clinecontext_modification_output: Cline PreToolUse hooks can return modified context/input before tool execution
codexhook_updated_input: Codex PreToolUse hooks return modified input arguments that replace the original tool input
pipi_extension_tool_call_blocking: Pi extensions can intercept and modify tool call inputs before execution
ampAmp hooks cannot modify tool input before execution; only substring match and cancel-with-message are documented
copilot-cliCopilot CLI hooks cannot modify tool input before execution
crushnot documented
cursorCursor hooks are not documented to rewrite tool input before execution.
factory-droidFactory Droid hooks cannot modify tool input before execution
gemini-cliGemini CLI hooks cannot modify tool input before execution
kiroKiro hooks cannot modify tool input before execution
opencodenot documented
roo-codenot documented
windsurfWindsurf hooks cannot modify tool input arguments before execution
zednot documented