Files
waha/src/apps/mcp/tools/server.zod.ts
T
devlikepro a331fd11bd [core] MCP - fix #1925
Do not restart session when updating some apps - AppDefinition.restartOnChange
2026-05-07 14:14:19 +07:00

18 lines
379 B
TypeScript

import { z } from 'zod';
export const EnvironmentInput = z.object({
all: z
.boolean()
.optional()
.describe('Include all environment variables, not just WAHA_* ones'),
});
export const StopInput = z.object({
force: z
.boolean()
.optional()
.describe(
'Force-terminate immediately instead of graceful shutdown (SIGKILL vs SIGTERM)',
),
});