check_integration_status
Poll an OAuth handoff initiated by request_oauth_integration_url. Returns the current status (pending, connected, failed, expired) and, when connected, the data_source_id you can pass to run_analysis.
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": {
"handoff_id": "<handoff_id>"
},
"name": "check_integration_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handoff_id | Yes | The id returned by request_oauth_integration_url. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Failure reason when status is "failed". | |
| status | Yes | One of pending, connected, failed, expired. | |
| provider | Yes | ||
| created_at | No | ||
| handoff_id | Yes | ||
| completed_at | No | ||
| connection_id | No | ||
| data_source_id | No | The created data source, present once status is "connected". | |
| integration_type | Yes |