Finish connecting
connect_account_finishAfter connect_account: trade deviceCode for your agent token once the person has approved. Returns status pending (ask again after interval seconds), denied, expired, or approved with the token — shown once; send it as Authorization: Bearer on every call.
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": {
"deviceCode": "<deviceCode>"
},
"name": "connect_account_finish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceCode | Yes | The deviceCode connect_account returned. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Once approved: your agent token, shown once. | |
| scopes | No | ||
| status | Yes | ||
| message | Yes | ||
| expiresAt | No | ||
| tokenType | No |