II.
HookSurface overview
Reference · livehook-surface:claude.elicitation-result
ElicitationResult (Claude Code) overview
Fires after the user responds to an MCP elicitation, before the response is sent to the server. Hook can mutate the action or content. Exit 2 forces the response to "decline".
Attributes
eventName
ElicitationResult (Claude Code)
displayName
ElicitationResult (Claude Code)
kind
native
originVendor
Anthropic
direction
post
blocking
true
family
in-process
payloadSchema
type
object
required
- hook_event_name
- mcp_server
- user_response
properties
hook_event_name
type
string
const
ElicitationResult
mcp_server
type
string
user_response
type
object
properties
action
type
string
enum
- accept
- decline
- cancel
content
type
object
description
Fires after the user responds to an MCP elicitation, before the
response is sent to the server. Hook can mutate the action or
content. Exit 2 forces the response to "decline".
Outgoing edges
None.
Incoming edges
exposes1
- agent-runtime-impl:claude-code.runtime@1.x·AgentRuntimeImplClaude Code Runtime (1.x)
maps_hook1
- hook-mapping:claude-elicitation-result·HookMapping