Agents & developers
Tool routing
Select a capable tool for a business task, or return no match.
Jev AI playground
Set up this template
Route a task to the tool that has both the required data and capability.
What to provide
A concrete task and a capability list that includes data access and read/write limits.
- List tool capabilities and the data each tool can access.
- Describe the next task, not the entire open-ended project.
- If the result is none, ask for more information or choose another way to complete the task.
Outputs and rules
next_tool · choice
The tool to use next, or none if no tool can do the task.
Choose the tool that can complete the stated next task using the required data. Choose none when no tool has the necessary capability.
- web_search
- Find public information on the web. Cannot access internal records.
- calculator
- Compute using supplied numbers. Cannot retrieve missing data.
- database
- Read, filter, and aggregate internal sales records. Cannot modify records.
- none
- No available tool can perform the required task.
no_match · Yes / No
Whether the available toolset cannot complete the task.
Is the task outside every listed tool’s capabilities?
Try different inputs
Normal input
Data access matters more than the presence of arithmetic in the task.
Available tools: web_search retrieves public web pages; calculator computes expressions from supplied numbers; database reads internal sales records, filters rows, and aggregates them. No tool sends messages or changes records. Task: Find the total value of refunded orders in our internal sales records for September 2026, grouped by product.
Ambiguous input
Ask which dataset is intended before committing to a route.
Available tools: web_search retrieves public web pages; calculator computes expressions from supplied numbers; database reads internal sales records, filters rows, and aggregates them. No tool sends messages or changes records. Task: Find September’s revenue. I might mean our sales or the public market report.
Missing information
Recognize a missing capability; no tool is able to send email.
Available tools: web_search retrieves public web pages; calculator computes expressions from supplied numbers; database reads internal sales records, filters rows, and aggregates them. No tool sends messages or changes records. Task: Send the refund summary to the finance team by email.
Use the result
Pass the selected tool name to a controlled dispatcher. Validate permissions and arguments separately, and ask for clarification when the route is uncertain.
Limits to keep in mind
This selects a tool only. It does not grant access, execute a query, send a message, or perform the task.