respond
Approve, deny, or redirect permission requests in Claude Code, or send new instructions to guide the assistant's next steps.
Instructions
Respond to a permission request or send new instructions to Claude Code. Actions:
"approve": Allow the pending operation
"approve_all": Allow this and similar future operations
"deny": Reject the pending operation
"redirect": Stop current operation and provide new instructions instead
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | How to respond | |
| message | No | New instructions (required for 'redirect', optional feedback for others) | |
| sessionId | No | Session ID (defaults to active session) |