import { ListProvidersInput } from '../types.js';
export function registerProviderTools(server, client) {
    server.tool('list_providers', 'List all configured AI agent providers with their availability status.', ListProvidersInput.shape, async () => {
        try {
            const result = await client.listProviders();
            return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] };
        }
        catch (e) {
            return { content: [{ type: 'text', text: `Error: ${e.message}` }], isError: true };
        }
    });
}
//# sourceMappingURL=providers.js.map