Get token info
get_token_infoDescribe the token this connection uses: its name and client, scopes, the projects, environment kinds, environments and keys it can reach, when it expires, and the temporary access the user approved through request_access. Call it when another tool refuses for scope or reach, to see what this token can do before asking for more. With activity true it also lists what this token did, newest first (tool, project, keys touched and time, including before its last rotation, up to limit rows): use that to report your work or check whether an earlier call went through. It never shows other tokens or people, and on the Free plan activity reaches back 30 days. Access requests are in get_access_requests. Read-only, changes nothing. No scope needed.
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": "get_token_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | With activity only: rows to return, 1 to 200. Default 50. | |
| activity | No | Also list what this token did, newest first |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | A list, or a sentence such as "every key" when nothing limits it | |
| agent | Yes | ||
| token | Yes | Name of this token | |
| client | Yes | ||
| scopes | Yes | ||
| activity | No | ||
| projects | Yes | A list, or a sentence such as "every key" when nothing limits it | |
| expiresAt | Yes | ISO 8601 timestamp, or a sentence when the token never expires | |
| environments | Yes | A list, or a sentence such as "every key" when nothing limits it | |
| approvedAccess | Yes | ||
| environmentKinds | Yes |