The Open Framework for Building Agents
import { defineTool } from "eve/tools";
import { always } from "eve/tools/approval";
import { z } from "zod";
export default defineTool({
description: "PROOF-ONLY: marks a run as executed. Requires approval.",
inputSchema: z.object({ marker: z.string() }),
approval: always(),
async execute({ marker }) {
return { executed: true, marker };
},
});