Back to Tools
get_session_info
Free
Retrieves detailed information about an active session, including the operator details, credit balance, and session metadata.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| session_token | string | Required | The session token from start_session |
Returns
| Name | Type | Description |
|---|---|---|
| session_id | string | Unique session identifier |
| operator_id | string | Operator account ID |
| operator_name | string | Operator account name |
| credits_available | number | Current credit balance |
| created_at | string | Session creation timestamp (ISO 8601) |
| expires_at | string | Session expiration timestamp (ISO 8601) |
Example
typescript
const info = await mcp.callTool("get_session_info", { session_token: "sess_xyz789..."}); console.log(info.credits_available); // 49800console.log(info.expires_at); // "2024-01-16T12:00:00Z"