II.
HookSurface JSON
Structured · livehook-surface:claude.elicitation-result
ElicitationResult (Claude Code) json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "hook-surface:claude.elicitation-result",
"_kind": "HookSurface",
"_file": "channels-hooks/hook-surfaces/native/claude-code-extended-hooks.yaml",
"_cluster": "channels-hooks",
"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\nresponse is sent to the server. Hook can mutate the action or\ncontent. Exit 2 forces the response to \"decline\".\n"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-runtime-impl:claude-code.runtime@1.x",
"to": "hook-surface:claude.elicitation-result",
"kind": "exposes",
"attributes": {}
},
{
"from": "hook-mapping:claude-elicitation-result",
"to": "hook-surface:claude.elicitation-result",
"kind": "maps_hook",
"attributes": {}
}
]
}