Submit elicitation consent
PreviewRecords a user’s decision about a URL an MCP server asked them to open, and resumes the paused turn.
POST
/v1/sessions/{session_id}/mcp-elicitation-consentSee authentication for credentials and permissions.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”session_id
required
string
Session ID (prefixed, e.g., session_…)
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
Request to answer a pending URL mode elicitation.
object
action
required
The user’s decision.
string
tool_call_id
required
The confirm_url_elicitation tool call being answered.
string
Example
url_elicitation_01933b5a00007000800000000000001Responses
200Decision recorded and workflow resumed
Decision recorded and workflow resumed
Media typeapplication/json
Result of answering a pending URL mode elicitation.
object
host
required
Domain the consent was recorded against, echoed so a client can confirm it showed the same one.
string
status
required
Session status after the decision.
string
Example generated
{ "host": "example", "status": "example"}400Invalid session ID or request
Invalid session ID or request
403Caller may not manage this session
Caller may not manage this session
404Session or pending elicitation not found
Session or pending elicitation not found
409Session is not waiting for tool results
Session is not waiting for tool results
500Internal server error
Internal server error