Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

363 B
Raw Blame
import { defineTool } from "eve/tools";
import { z } from "zod";

export default defineTool({
  description: "Change the email address that receives a customer's invoices.",
  deferred: true,
  inputSchema: z.strictObject({ customer: z.string(), email: z.string() }),
  async execute({ customer, email }) {
    return { customer, email, updated: true };
  },
});