Skip to main content
A tool is a function the model can call. Each file in agent/tools/ is one tool, and the file name is the name the model sees:
agent/tools/get_invoice.ts
  • Write description for the model: what the tool does and when to use it.
  • Tools run in the agent’s own process, so they can read process.env. Set a secret with jaccard env add BILLING_TOKEN, and add it to .env.local for pnpm dev. Never put it in a source file.
  • To make a person approve each call, add approval: always() from eve/tools/approval. Use it on tools that spend money, change data or read something sensitive.
A restart can run a tool call again. Make tools that spend money or send messages safe to repeat, for example by passing an operation ID to the system they call.
Every agent also has built-in tools to run shell commands and read and write files in its sandbox. To go further, see eve’s documentation:
  • Tools: every option a tool takes.
  • Human in the loop: approvals, and questions the agent asks a person while it works.
  • Tasks: tool calls that keep running in the background while the agent carries on.
  • Workflows: tools with several steps that can wait for a person or hand work to another agent.
Last modified on November 10, 2026