save_season_script
Free, generates nothing. After the season plan is approved and before the paid create_series. Episode 1 first (the interview's default, and Just go): save only Episode 1's script before casting. After Episode 1 is delivered the customer chooses: the next episode alone (save_episode_script, its price, and on the yes make_episode, which holds that episode's own price), or the rest of the season here on one yes. The whole season now: write every episode's script from its plan row, in order, one call each. The same episode JSON as save_episode_script. Script rules (the server enforces these four; episodes that jump between places and people read as unrelated cuts): places only move forward: at most 3 places in an episode, never back to a place already left; a lead (a or b) is on screen in every scene; at most 4 people on screen in an episode; nobody new after 60% of the runtime, except one newcomer in the last scene of an intrusion cliffhanger. Writing guidance, not enforced: the first spoken line is the hook; the episode ends on a lead's line. Write calm, natural acting: no face-acting notes per line; the server directs camera and performance. make_episode's override_craft_check never lifts the four rules. The first call needs series: the create_series arguments the season is cast with (title, language, premise, lead_a_* and lead_b_* fields, locations, cast; format and quality are the plan's); passing it again changes them and checks every script again. Each script is validated, auto-fitted and craft-checked like check_episode_script (the cliffhanger type against the two episodes before it, the season's episode length) and priced: video, voices and storyboards for this account. A plan change makes that episode's script and every later one stale until saved again. A change after the customer's yes keeps that yes and its held price while the season price stays within the approved max_credits (nothing is asked again); only a price above it gives the held price back (before casting) or waits for one new yes. Returns every script with craft_check, price and stale, casting_credits, total_credits (the season price), scripts_hash, say and next.
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": {
"series_id": "<series_id>",
"n": "<n>",
"episode": "<episode>"
},
"name": "save_season_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| series | No | ||
| episode | Yes | ||
| series_id | Yes |