Skip to main content

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​

ToolWhat it returns
list_templatesThe 15 starter agents with a one-line summary each.
get_templateOne template as a full agent spec. Takes a name from list_templates.
list_modelsSupported models and when to use each.
list_toolsBuilt-in tools an agent can use, such as web_search.
list_routing_modesHow single, chain and workflow routing behave.
get_flow_schemaThe agent spec format, with field rules and naming conventions.
validate_flowChecks an agent spec and returns errors, warnings and a normalised spec.
generate_sdk_codeTurns 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.

ResourceContents
flow-builder://schemaAgent spec format and rules.
flow-builder://modelsModel catalog.
flow-builder://toolsTool catalog.
flow-builder://routing-modesRouting mode reference.
flow-builder://templatesTemplate list.
flow-builder://best-practicesDesign 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.