How it works
- With a decision model configured, the model chooses among every tool, and its probabilities rank them.
- Without one, keywords rank them.
- Tools below
min_probabilityare dropped, so the list can be empty.
compose_plan and the drafter agents use this plan to find tools.
Input
string
required
The task the tools are for, as one step
number
default:"0.1"
Minimum probability for a tool to be returned
integer
default:"10"
Most tools to return
string
default:"decider"
The decision model role that chooses
integer
default:"250"
Most tools per choice question, up to 255; larger catalogs are split, then every tool reaching min_probability meets the others in a final choice
boolean
default:"true"
Include each tool’s input schema and output shape
Output
string
How tools were ranked,
decision (a decision model chose) or keyword (keyword match).object[]
The tools that fit, most likely first, with their scores and, when
schemas is on, their input schemas and output shapes.string[]
Tools that are always offered, from
[tools].always_loaded. They’re never ranked.