provider_grant_device_authorization
Grants a device authorization request using a user code, enabling a service account to obtain an access token through subsequent device-code polling.
Instructions
Grants a device authorization request Grants access to service account identified by the specified user code. Subsequent polling by the device will result in access token to be transmitted as per device code flow specification POST /cloudapi/1.0.0/deviceLookup/grant
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": {
"body": "<body>"
},
"name": "provider_grant_device_authorization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Device information for device authorization requests. |