Fountain ⇄ blocks converter
convert_fountainConvert between Narracore screenplay blocks and Fountain (the plain-text screenplay interchange format). direction="to_fountain": screenplay (input_format="text" or "blocks") → Fountain text (Latin content upper-cased per convention, CJK preserved verbatim; notes as [[…]]). direction="from_fountain": Fountain text → typed blocks you can pass straight to format_screenplay (input_format="blocks") — supports scene headings (INT/EXT/EST/I/E), character cues with (V.O.)-style extensions (extension becomes the delivery hint), parentheticals, dialogue, TO: transitions, > forced transitions, . forced action, [[notes]]; boneyard /…/ is stripped and reported, title-page keys and # section headers are skipped with warnings; mostly-Chinese content falls back to the Chinese screenplay parser (Fountain rules target Latin scripts). One credit covers one screenplay for 24 hours across the screenplay tools — converting and then formatting the same screenplay charges once. Failed calls are never charged. 剧本块与 Fountain 格式互转;同一份剧本 24 小时内多工具只扣一次。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "convert_fountain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | to_fountain only: raw screenplay text (input_format="text") | |
| blocks | No | to_fountain only: typed blocks (input_format="blocks") | |
| fountain | No | from_fountain only: the Fountain source text | |
| direction | No | Required, one of to_fountain | from_fountain: to_fountain = screenplay → Fountain text; from_fountain = Fountain text → typed blocks. | |
| request_id | No | Idempotency key (optional) | |
| license_key | No | License key NRC-XXXX-XXXX-XXXX-XXXX (optional — free daily quota works without one) | |
| input_format | No | to_fountain only: screenplay source format |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| tool | No | ||
| state | No | ||
| stats | No | ||
| blocks | No | ||
| reason | No | ||
| credits | No | ||
| message | No | ||
| fountain | No | ||
| recovery | No | ||
| warnings | No | ||
| conflicts | No | ||
| direction | No | ||
| next_step | No | ||
| request_id | No | ||
| diagnostics | No | ||
| next_actions | No | ||
| contract_version | No |