ai_provider_status
Check the operational status of AI providers to verify availability for data analysis tasks in Excel files.
Instructions
Check status of available AI providers
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/handlers/ai-operations.ts:231-263 (handler)Core implementation of the ai_provider_status tool. Retrieves available AI providers, active provider, and performs health checks via NLPProcessor, returning formatted ToolResponse.async getAIProviderStatus(args: ToolArgs): Promise<ToolResponse> { try { const providers = this.nlpProcessor.getAvailableProviders(); const activeProvider = this.nlpProcessor.getActiveProvider(); const healthStatus = await this.nlpProcessor.testProviders(); return { content: [ { type: 'text', text: JSON.stringify({ activeProvider, availableProviders: providers, healthStatus, success: true }, null, 2), }, ], }; } catch (error) { return { content: [ { type: 'text', text: JSON.stringify({ error: error instanceof Error ? error.message : 'Unknown error', success: false }, null, 2), }, ], }; } }
- src/index.ts:1263-1264 (registration)Dispatch registration in the CallToolRequestSchema handler that routes ai_provider_status calls to AIOperationsHandler.getAIProviderStatus.case 'ai_provider_status': return await this.aiOpsHandler.getAIProviderStatus(toolArgs);
- src/index.ts:902-909 (schema)Tool schema and metadata registration in ListToolsRequestSchema response, defining the tool name, description, and empty input schema (no parameters required).{ name: 'ai_provider_status', description: 'Check status of available AI providers', inputSchema: { type: 'object', properties: {}, }, },