List connections
list_oauth_grantsLists the assistants connected to an account and shows when each last used its connection, helping users review and audit active OAuth grants.
Instructions
Purpose: see which assistants are connected to this account, and when they last used the connection. NOT for: an assistant acting on its own. This is a person’s list. A key is refused with human_action_required. Returns: data, has_more, and next_cursor. Each row has id, client_id, client_name, scopes, created_at and last_used_at.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_oauth_grants"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Page size (1-100). | |
| cursor | No | next_cursor from the previous page. Omit for the first page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | This page of rows. | |
| error | No | Present instead of the fields above when the call was refused: code, message, fix, docs_url, retryable and, when waiting helps, retry_after_seconds. | |
| has_more | No | True when another page follows. | |
| next_cursor | No | Pass back as cursor for the next page; null on the last page. |