import { z } from 'zod'; import type { DatadogClient } from '../client/datadog-client.js'; export default [ { name: 'datadog_list_service_level_objectives', description: 'Lists SLOs (Service Level Objectives) from Datadog.', inputSchema: { type: 'object' as const, properties: { ids: { type: 'string' }, query: { type: 'string' }, offset: { type: 'number' }, limit: { type: 'number', default: 100 }, }, }, handler: async (input: any, client: DatadogClient) => { const result = await client.get('/slo', input); return { content: [{ type: 'text' as const, text: JSON.stringify(result, null, 2) }] }; }, }, ];