demo3_protected_action
Executes a protected action by validating a mock token for proper scope and expiration. Requires prior consent approval to obtain the token.
Instructions
Execute a protected action using the mock token from demo3_approve_consent. Validates the token is present, unexpired, and properly scoped.
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": {
"token": "<token>",
"action": "<action>"
},
"name": "demo3_protected_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Mock token from demo3_approve_consent | |
| action | Yes | Action to perform |