Put agents on something in a room
rooms_start_agent_workStarts zv1 and flows in a room working on something together in a sidebar: they take turns without a person between each, and the result comes back to the room's stream. The flows must already be in the room (rooms_add_flow). Use it when someone asks for agents to work something out, or to hand a specialist flow a job. Anyone in the room can read along or stop it. May return needs_confirmation; say what they'll work on and who, and wait for approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | What they should work on, as a clear task. | |
| mode | No | 'moderated' (zv1 picks who speaks) or 'in_order'. Default moderated. | |
| output | No | What to come back with, e.g. 'a one-paragraph recommendation'. | |
| roomId | Yes | Room id (from rooms_list). | |
| flowIds | No | Flows in the room to take part. | |
| maxTurns | No | Most turns before they write up (default 8). | |
| sidebarId | No | Work in this open sidebar instead of opening a new one. | |
| workspace | No | Workspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys. | |
| approvalId | No | Approval id from a prior needs_confirmation envelope. | |
| includeZv1 | No | Whether zv1 takes part too (default true). |