import { z } from 'zod';
import type { ToolDef } from '../tool-registry.js';

export const settingsTools: ToolDef[] = [
  {
    name: 'settings_get',
    description:
      'Get platform site settings: organization name, domain, feature flags ' +
      '(media, SMS, events, payments), SMTP config status, and more.',
    inputSchema: {},
    method: 'GET',
    path: '/api/settings/admin',
    tier: 1,
  },
  {
    name: 'services_status',
    description:
      'Check status of all integrated services: NocoDB, n8n, Gitea, MailHog, ' +
      'Mini QR, Rocket.Chat, Gancio, Vaultwarden, and more. ' +
      'Returns availability status for each service.',
    inputSchema: {},
    method: 'GET',
    path: '/api/services/status',
    tier: 1,
  },
];
