Tools and resources
Your assistant picks these tools itself. You don't need to call them by name, but naming one can help steer it.
Tools
| Tool | What it returns |
|---|---|
list_templates | The 15 starter agents with a one-line summary each. |
get_template | One template as a full agent spec. Takes a name from list_templates. |
list_models | Supported models and when to use each. |
list_tools | Built-in tools an agent can use, such as web_search. |
list_routing_modes | How single, chain and workflow routing behave. |
get_flow_schema | The agent spec format, with field rules and naming conventions. |
validate_flow | Checks an agent spec and returns errors, warnings and a normalised spec. |
generate_sdk_code | Turns a valid agent spec into runnable custodian_labs Python code. |
Resources
The same reference material is available as MCP resources, for clients that load resources into context.
| Resource | Contents |
|---|---|
flow-builder://schema | Agent spec format and rules. |
flow-builder://models | Model catalog. |
flow-builder://tools | Tool catalog. |
flow-builder://routing-modes | Routing mode reference. |
flow-builder://templates | Template list. |
flow-builder://best-practices | Design guidance for agents and squads. |
The agent spec
Templates, validation and code generation all use one JSON format. It describes the
agents, their settings, any attached files and the routing mode. Field names are
camelCase, such as systemPrompt and routingMode. Ask your assistant to call
get_flow_schema to see it in full.