startElicitation
Requests structured input from users during tool execution to enable interactive data collection and dynamic workflow adjustments.
Instructions
Demonstrates MCP elicitation by requesting structured input from the user via the MCP client. Elicitation allows servers to interactively ask users for information during a tool call.
Args: message: The prompt message to display to the user (default: "Please provide your name:")
Returns: The user's response from the elicitation, or an error if not supported
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "startElicitation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Please provide your name: | |
| ctx | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |