demo3_request_consent
Generate a mock authorization prompt requesting user consent for a protected action. Approval is required before the action can proceed.
Instructions
Initiate a secure OAuth-style handoff. Returns a mock authorization prompt that the user must approve before the protected action can proceed. No real secrets are involved – this is a simulation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "demo3_request_consent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The protected action being requested | |
| userId | No | Simulated user ID | demo-user |