Trigger URL Elicitation Tool
trigger-url-elicitationTrigger URL elicitation to direct users to a browser flow, using either a request that waits for the response or an error signal for client-side resolution.
Instructions
Trigger a URL elicitation so the client can direct the user to a browser flow. Supports two mechanisms: the request path (elicitation/create, default) which awaits the user's response, and the error path (UrlElicitationRequiredError, -32042) which signals the client to handle URL elicitation via the error response. Set errorPath=true to use the error path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL the user should open | |
| message | No | Message shown to the user before opening the URL | Please open the link to complete this action. |
| errorPath | No | Controls which elicitation mechanism is used. When false (default), sends an elicitation/create request (request path). When true, throws a UrlElicitationRequiredError (MCP error code -32042) so the client handles the URL elicitation via the error path rather than waiting for a response. To clear the error, satisfy the prerequisite and retry this call with the same arguments; the retry ignores errorPath and proceeds, so the client does not loop on the same error. | |
| elicitationId | No | Optional explicit elicitation ID. Defaults to a random UUID. |