generate_cycle_content
Starts async "Generate all" on a playbook cycle (run_id), generating documents for open content steps assigned to or created by the caller (including steps created by you that are assigned to a teammate) in order (skips checklist, action, dismissed, already-generated, and teammates' private/unowned steps; honors use_cycle_source with private-step footer counts). Uses 1 generation of Studio Credits per step — confirm first. One batch per cycle at a time (started: false if running). Poll get_cycle_generation. Present link_url as returned.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"team_id": "<team_id>",
"run_id": "<run_id>"
},
"name": "generate_cycle_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Cycle id — the integer run_id from list_playbook_cycles / instantiate_playbook, not a UUID. | |
| team_id | Yes | Team id to act in (from initialize instructions or get_current_user_info). Required on external MCP; optional in bound sessions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | No | Team this action applied to. | |
| batch | No | ||
| pieces | No | Present only when nothing_to_generate: why each step was skipped. | |
| started | No | false when a batch is already running or there is nothing to generate. | |
| cycle_link_url | No | ||
| nothing_to_generate | No |