# Workflow orchestration The `workflow` tool runs one JavaScript body with top-level `await` and returns a JSON value. It is the only way to fan out dozens of agents without flooding the lead's context. ## Call shape ```json { "meta": {"name": "swarm-wave-1", "description": "Build wave", "phases": [{"title": "wave 1"}]}, "script": "