storyline_execute
Execute a storyline to generate content drafts for all selected line items. Poll the operation ID to track progress until completion.
Instructions
Async. Execute a storyline — generates content drafts for all selected line items. Returns { operationId, status } — poll get_job with the operationId until state=completed. Typically takes ~3–8 min. Call storyline_estimate first to surface the credit cost before execution.
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": {
"storylineId": "<storylineId>"
},
"name": "storyline_execute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brandId | No | Brand ID (defaults to active brand) | |
| storylineId | Yes | Storyline ID to execute |