Update the story bible
update_bibleWrites the story bible: premise, structural conflict, theme, tone references, world, central question, engine of satisfaction, season arc (phases with episode ranges and beats), dramatic-irony ledger, production notes, character relationships. Send only the sections to change. Map the whole season here before writing scenes. expected_version is the bible version from get_drama_context.
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": {
"drama_id": "<drama_id>",
"expected_version": "<expected_version>",
"patch": "<patch>"
},
"name": "update_bible"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | Only the bible sections to change (premise, world, season_arc, relationships…); the others keep their text. | |
| drama_id | Yes | The drama id (drm_…), from list_dramas or create_drama. | |
| expected_version | Yes | The version you read; the write fails with VERSION_CONFLICT if it changed since |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changed | Yes | ||
| version | Yes | ||
| drama_id | Yes |