Skip to content

The open alternative to Salesforce, designed for AI.

733 B
Raw Blame
import { z } from 'zod';

type NoReplyOutput = {
  success: true;
};

export const createNoReplyTool = () => ({
  description:
    'End your turn without replying. Several members share this chat and every message ' +
    'reaches you, including those they send each other. Call it instead of writing anything ' +
    'when the latest message does not need an answer from you: a thank-you or ' +
    'acknowledgement, or members talking to each other rather than to you. Write no text in ' +
    'the same turn. Always answer a member who addresses you. ' +
    'Never use it to skip a question, request or task addressed to you.',
  inputSchema: z.object({}),
  execute: async (): Promise<NoReplyOutput> => ({ success: true }),
});