device_poll
Poll an OAuth device flow session to check if the user has completed authorization. Returns pending, completed, expired, or denied status.
Instructions
Poll an OAuth device flow session for completion.
Call this after device_start. Returns status: "pending", "completed", "expired", or "denied". Respect the interval field — polling too fast will increase the required interval.
Args: device_session_id: Session ID from device_start
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_session_id": "<device_session_id>"
},
"name": "device_poll"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_session_id | Yes |