When to use it
- When which tool to call next depends on what an earlier call returned.
- When the order of calls is known in advance, write plain steps instead. They make no model calls.
How it works
toolslimits what the step can call, by name or glob. Omit it for the whole catalog.maxIterationscaps model rounds. The default is 8.systemPromptis added after the built-in prompt.- Each round is a model call, and inside
mapit runs once per item.
Input
integer
Maximum inference rounds — every round is one model call, including the one that produces the final answer. Default: 8.
string
A configured model role, standard or custom. Defaults to the chat role.
any
required
JSON Schema for the agent’s structured output. Must be type object.
string
required
The task description. May use templates like {{E0.results}}.
string
Extra system prompt guidance. May use templates like the prompt.
string[]
Tool names or wildcard patterns (e.g. linear__*) to expose. Every pattern must resolve to at least one tool. Omit for all available tools; an empty list is an error, not ‘no tools’.
Result
Later steps read these as{{<step id>.<field>}}.
boolean
False when the round limit ran out before a complete answer.
integer
How many model rounds the step took.
object
The answer, matching
outputSchema.object[]
string
string
string
object[]
Each tool call, with the round it happened in.
integer
The round the call happened in.
string
The tool’s name.