get_assistants_token_usage
Retrieve token usage metrics for all assistants to monitor resource consumption and optimize VoiceAI integrations.
Instructions
Get token usage across all assistants
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- index.js:587-589 (handler)Handler logic for the 'get_assistants_token_usage' tool: sets the backend API URL to '/assistants/all/token/usage' and performs a GET request via the shared fetch logic.case 'get_assistants_token_usage': url = `${this.baseUrl}/assistants/all/token/usage`; break;
- index.js:279-287 (registration)Registration of the 'get_assistants_token_usage' tool in the list of available tools, including name, description, and input schema.{ name: 'get_assistants_token_usage', description: 'Get token usage across all assistants', inputSchema: { type: 'object', properties: {}, required: [] } },
- index.js:282-286 (schema)Input schema for the tool: an empty object with no required properties.inputSchema: { type: 'object', properties: {}, required: [] }