Tool Filter
Tool Filter limits and reorders the tools an Agent is offered, by naming exactly which ones to keep, drop, or put first. You find it on the node picker’s AI shelf.
Connect the node’s Context output handle to the agent’s Context handle. With nothing configured, every tool passes through unchanged.
Configuration
Section titled “Configuration”

| Field | Type | Default | Description |
|---|---|---|---|
Allow (allow) | string ✦ (optional) | — | An allowlist of tool names; only these tools are kept for the agent. Leave empty to allow all tools. |
Deny (deny) | string ✦ (optional) | — | A denylist of tool names to remove, applied after the allowlist. |
Order (order) | string ✦ (optional) | — | An explicit ordering of tools: the listed names appear first in this order, then the remaining tools follow. |
Max tools (maxTools) | integer ✦ (optional) | — | The maximum number of tools to expose to the agent after allow, deny, and ordering have been applied. |
Fields marked ✦ accept expressions.
The controls apply in sequence: allow keeps only the listed tools, deny removes from what remains, order places the listed names first in that order (the rest follow in their original order), and maxTools truncates the result. Each list takes tool names separated by commas or newlines. Combining order with maxTools keeps only the few tools you want the agent to prefer.
Tool names must match the names the agent sees, such as the per-operation names an OpenAPI Operation Pack produces. A name that matches no tool is ignored.
How it filters
Section titled “How it filters”The node runs no step of its own and emits no output. It shapes the agent’s context before each request, so the agent never sees a tool the filter removed and cannot ask for it back mid-run.
You can attach more than one context-shaping node to the same agent. They run as a chain, ordered by when the nodes were added to the flow, and each shapes the tools the next receives. A common pattern is Tool Filter to remove the tools the agent should never use, then Search Tools to narrow what remains to the current request.
Example
Section titled “Example”The Smoke / Context shaping — tool filter template offers an agent a Petstore OpenAPI Operation Pack on its Tools handle, then pins the offer to a single read operation with a Tool Filter on its Context handle:
allow:openapi__petstore__findpetsbystatusmaxTools:5
To keep an agent on the read side of a larger API, list the read operations in allow, one per line, and put the one the agent should reach for first in order.
Limitations
Section titled “Limitations”- The filter applies exactly what you list, with no safety floor: an allowlist that omits a tool the agent needs removes it, unlike Search Tools, which never drops tools the platform marks essential.
- A stale name fails silently. When an operation is renamed, a list entry that no longer matches is ignored rather than reported, so re-check your lists after changing the packs they refer to.
Related
Section titled “Related”- Search Tools narrows a large tool set automatically instead of by name.
- OpenAPI Operation Pack and SOAP Operation Pack are common sources of the tool names you list here.
- Agent is the node whose tools you are shaping.
- Build an agent walks through wiring tools, memory, and context onto an agent.