check_episode_script
Read-only, saves nothing. Same episode JSON as save_episode_script. Runs validation and auto-fit, then the mechanical craft check and the 30 s story grammar: first spoken line within 2 s (the hook), 25 to 45 spoken words per 30 s, lines at most 10 words (warn over 8), exactly one turn on the shot at 10 to 20 s of 30 s (both scale with the runtime), a cliffhanger_type that differs from the previous 2 episodes, no silent shot over 1.2 s except the final 1.5 s reaction, ends on a line or reaction within the last 3 s. 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. Cast v2: checks every scene cast (recurring characters and the episode's guests x1 and x2 included), the guests and each scene background (unnamed extras in words, never a reference image: the references are each character's full body and, once made, turnaround sheet), and warns when only the leads appear while the series has recurring characters. Timing is fixed, not handed back: a silent beat where the story is short, a scene up to 0.1 s over timed to its 10 s, a filler word cut from a line that runs long, a long pause tightened; every change is listed in fixed and episode is the fixed script (send it on). Returns {passed, issues, warnings, episode, fixed, cast_by_scene, episode_cast}. Before the series exists, n 1 is checked against the series your last create_series dry run priced (series_created false); the dry run's own episode_1 field is the same check.
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": "check_episode_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | Yes | ||
| episode | Yes | ||
| series_id | Yes |