modelstring | objectrequiredA name, or { main, image, video, voice, music } for the media roles.
toolsobject | arrayWritten as an object of api.tools, serialised by the package.
storagesstring[]Which storages it may read.
inputsarrayIts instructions.
skillsstring[]Skills to put in front of the work.
subagentstringRun it as a library agent.
maxSteps · budgetinteger8 · —Its ceilings.
Tool names are checked when you save
Skipping it without a word would leave a workflow running without the tool it was built around, and nobody told why the result is wrong. The refusal names what is available.
{ id: "research", type: "agent.run", config: {
model: "gemini-3.5-flash",
tools: { search: api.tools.search, fetch: api.tools.fetch },
storages: [database.id],
inputs: [{ type: "text", content: "Find what changed in {{input.area}} and list the sources." }],
maxSteps: 8, budget: 150,
} }{"id": "research", "type": "agent.run", "config": {
"model": "gemini-3.5-flash",
"tools": ["search", "fetch"], # built-in tools, by name
"storages": [database.id],
"inputs": [{"type": "text", "content": "Find what changed in {{input.area}} and list the sources."}],
"maxSteps": 8, "budget": 150,
}}Output
{{steps.research.output.text}} is its report, and output.usage what it cost. The steps it took are in the run record.
This is the server-side agent
There is no permission callback and no machine: the boundary is the tools you declared and the storages you passed. The tools that send, publish or write DNS are deliberately not in its inventory — those are steps, which require an approval.
Give it a budget
It is the one step type whose cost is not knowable in advance. On a scheduled trigger that matters more than anywhere else.