Skip to content

Elicitation Result

Configuration for elicitation-result hooks with MCP-server-based command execution.

Commands run after a user responds to an MCP elicitation. Observational.

Map of MCP-server-name patterns to command configurations. Keys are glob patterns matched against the MCP server name (e.g., “my-server”, ”*”).

AttributeValue
Typeobject
Default{}

This section uses the following nested type definitions:

Configuration for individual elicitation-result commands with optional messages.

Properties:

PropertyTypeDefaultDescription
maxOutputLines`integernull`null
message`stringnull`null
notifyPerCommand`booleannull`null
runstring-The shell command to execute
showCommand`booleannull`true
showStderr`booleannull`null
showStdout`booleannull`null
timeout`integernull`null