uses.
Workflow-owned calls versus model-owned calls
Use acall expression when the workflow author decides exactly which tool to call:
uses when the model may decide whether and how to call the tool during the agent step.
Guardrails
- Add
inputandoutputschemas to tool declarations when possible. - Use
bindingsfor trusted runtime values supplied by the workflow. - Keep tool names descriptive and scoped to their purpose.
- Include only the tools, prompts, and resources an agent needs.