tools array. A table no agent references is not reachable by any agent, so this step is the whole handoff.
What gets generated
The lookup tool
lookup_<table> fetches one row by its key.
plan_id, not row_key — so the model sees something meaningful.
The search tool
search_<table> filters, sorts and returns several rows. It gets one parameter per declared column, plus _min/_max bounds for numbers and dates, plus a limit.
Stored query tools
Any stored query that is validated and switched on also appears here, as its own tool. Same tab, because this page is meant to be the complete answer to “what can an agent do with this table?”. Queries that are drafts, broken, or need revalidating do not appear — handing an agent a tool that fails mid-call is worse than not having it.Giving them to an agent
Copy one tool, or Copy all, and paste into the agent’s tool configuration. They’re ordinary tools — they work on voice, chat and email agents alike.Tools are copied, not linked. Editing the table’s schema later does not change any agent that already has them. That’s deliberate: nothing silently alters a live agent’s abilities. When you want an agent to pick up a schema change, come back here and copy the regenerated tool.
Writing the prompt around them
The tools describe what they do. Your prompt decides when.- Which tool for which question. Models reach for search when lookup is exact and cheaper.
- What not to say. Rows an agent can read but shouldn’t quote — internal margin, a discontinued flag.
- What to do when nothing matches. An empty result is a normal answer, and without guidance a model may invent something.

