check_delegation
Poll for human approval of a delegation request. When status is "approved", returns the delegation_token to use as buyer_delegation_token in execute_checkout.
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": {
"device_code": "<device_code>"
},
"name": "check_delegation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_code | Yes | device_code returned by request_delegation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| delivery | No | ||
| user_code | No | ||
| approvalUrl | No | ||
| device_code | No | ||
| delegation_token | No |