Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(agent-tools): correct the destructive flag description
Yudhi Armyndharisf0c1cca5a43d
diff --git a/src/core/agent-tools/tool-descriptor.ts b/src/core/agent-tools/tool-descriptor.tsindex 1c8a31f82..014141a70 100644--- a/src/core/agent-tools/tool-descriptor.ts+++ b/src/core/agent-tools/tool-descriptor.ts@@ -11,7 +11,7 @@ export interface ToolDescriptor<I = unknown> {/** Input contract: validates the call AND is advertised to the agent. */inputSchema: z.ZodType<I>;tier: 'read' | 'write';- /** True for irreversible/dangerous ops (none are exposed in v1). */+ /** True for irreversible or state-overwriting ops; surfaced to MCP clients as destructiveHint. */destructive?: boolean;/** Safe to repeat without additional effect. Defaults to (tier === 'read'). */idempotent?: boolean;