Authenticate Session
authenticateValidates a JWT agent token and reports the identity and scope it carries. It caches NOTHING: no server-side state remembers this call, so the credential still travels on every protected call afterwards. Use only when your client cannot send an Authorization: Bearer header; prefer session_request_id-based auth via create_auth_session. Not needed after get_auth_session returned 'active'.
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": "authenticate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jwt | No | Alias for token. Use this if your wrapper cannot send the 'token' field reliably. | |
| token | No | The raw JWT token string returned by get_auth_session or an OAuth access token. Pass the opaque token exactly as received — do not add a 'Bearer ' prefix and do not expand or decode the JWT claims. | |
| access_token | No | Alias for token. Use this if your wrapper follows OAuth naming conventions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| No | |||
| scope | No | ||
| userId | No | ||
| isAgent | No | ||
| expiresAt | No | ||
| sessionBound | No | ||
| authenticated | No | ||
| transportAuthRequired | No |