5 pages for elicitationresult.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…input mid-task | Respond to MCP input requests programmatically | | `ElicitationResult` | No | Yes | A user responds to an MCP elicitation | Modify or block the response before it returns to the serv…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…est: ElicitationRequest, options: { signal: AbortSignal }) => Promise<ElicitationResult>` | `undefined` | Callback for handling MCP elicitation requests. Called when an MCP server requests user input…
Claude Code changelog
Claude Code CLI · in the page
changelog
…tatus code * Fixed `{"decision":"block"}` returned by Elicitation and ElicitationResult hooks being ignored; it now declines the MCP elicitation, as exit code 2 does * Fixed sessions launched without…
Hooks reference
Claude Code CLI · in the page
hooks
…teIdle, PreCompact, PostCompact, and SessionEnd, with Elicitation and ElicitationResult nested inside MCP tool execution, PermissionDenied as a side branch from PermissionRequest for auto-mode denials…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…ion` | When an MCP server requests user input during a tool call | | `ElicitationResult` | After a user responds to an MCP elicitation, before the response is sent back to the server | | `SessionEnd`…