Approving every tool call is as unworkable as approving none: the person becomes the bottleneck, and the agent waits on routine reads. The LangGraph pattern is per-tool approval, with a middleware that sets which tools need approval and when, such as pausing only for SQL that is not a plain SELECT. Write the rule per tool, by risk: reads and lookups run freely, writes, sends, deletes and payments pause for a person. Review the list whenever a tool is added, because a new tool with no rule defaults to whichever side you forgot to set.
What you need
- A list of the agent’s tools, marked read or write
- A person who approves the risky ones
- One test run that uses both a read tool and a write tool
Step 1: Classify every tool by risk
Go through the tool list and mark each tool: read-only tools run freely, and any tool that writes, sends, deletes or pays needs approval. A tool you cannot classify is risky until proven otherwise.
Step 2: Set the approval rule per tool
Configure the approval so it applies per tool, not per agent: the rule names the tool and the condition, such as approve all deletes, approve sends to outside addresses only. A blanket rule on the whole agent approves everything or nothing.
Step 3: Run the test and check only the write paused
Run the test and confirm the read tool ran without waiting while the write tool paused for a person. If the read also paused, the rule is too broad; if the write did not, the rule is not attached to that tool.
Worked example: synthetic per-tool approval
The table below is a synthetic example. It shows the expected result of per-tool rules; no agent was run.
| Tool | Risk | Paused? |
|---|---|---|
| Look up an order | Read | No |
| Search the docs | Read | No |
| Send an email | Write | Yes |
| Delete a record | Write | Yes |
Expected result (UNTESTED). the two read tools run freely and the two write tools pause for a person. This check was not run live; the table shows the expected result for the synthetic example.
Limits
- A new tool with no rule is a gap, so review the list whenever a tool is added.
- A read tool that returns personal data is not risk-free, so classify by data as well as by write.
- Per-tool rules only work if the approval lives on the tool call, not in the instructions.
- An approver who rubber-stamps every request is the same as no approval.
