Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

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

export default defineTool({
  description: "Reads the prepared note from the session's sandbox.",
  inputSchema: z.object({}),
  async execute(_input, ctx) {
    const sandbox = await ctx.getSandbox();
    return await sandbox.readTextFile({ path: "step-note.txt" });
  },
});