guardian_check
Run a layered narrative check on one chapter to detect consistency errors, weak prose, plot gaps, and suspense issues, then save findings to the book's Guardian panel and Story Health.
Instructions
Run Creader's Guardian over ONE chapter. Guardian is a 5-layer narrative model; pick layers and a cost budget rather than a preset check. Layers: 1=Consistency (dead characters, name typos, timeline/entity contradictions), 2=Style & Prose (cliche, weak verbs, dialogue tags, POV leak, proofreading), 3=Analysis (character arcs, causal chains, literary quality), 4=Chapter & Suspense (opening quality, suspense, thread coverage, cliffhangers), 5=Plot Structure (three-act shape, inciting incident, midpoint, foreshadowing). Omit layers to run all five. costBudget is an inclusive ceiling on detector cost and defaults to 'local': 'local' makes NO model calls, spends no token quota, and is the right default — but it only reaches the rule-based detectors, so layer 3 returns nothing under it and layers 1/2/4/5 return only their local subset (this includes cliche and repetition, but NOT proofreading or POV leak, which are model detectors). Use 'api-heavy' for a full pass: it spends the owner's token quota. Every run, 'local' included, needs an API key with both the 'ai' and 'write' scopes: the server saves what a run finds, so it refuses a key that cannot write. Findings carry char-offset textPosition into the chapter's plain text; layer-2 proofreading findings also carry suggestedFix. Every run's findings are SAVED to the book by the server, which is what makes them appear in the author's Guardian panel and count toward Story Health; open notes on the chapter that the detectors which ran no longer raise are closed in the same step. There is no way to run without saving. saved in the result reports whether the server wrote the rows, and a run is never discarded because its save failed.
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": {
"bookId": "<bookId>",
"chapterId": "<chapterId>"
},
"name": "guardian_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bookId | Yes | Book ID | |
| layers | No | Which narrative layers to run. Omit for all five. | |
| locale | No | Language of the prose. Defaults to the account locale. | |
| chapterId | Yes | Chapter ID to check | |
| costBudget | No | Inclusive cost ceiling. Default 'local' (free, no model calls). 'api-heavy' spends token quota. |