Story handoff document
render_story_handoffFREE. Render a StoryState into a zh/en handoff document (recent-canon window + bible) for a successor writer/AI. The server formats the state you SUPPLY — project_token proves identity only, not that the state content is authentic or current. Keep the full text client-side; failed calls are never charged. 免费:把调用方提供的 StoryState 排成交接文档;token 仅证身份、不证明 state 内容真实或最新;失败不收费。
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": {
"state": "<state>"
},
"name": "render_story_handoff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | en | |
| state | Yes | ||
| direction | No | ||
| request_id | No | Idempotency key (optional; same request_id never double-charges) | |
| recent_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| lang | No | ||
| tool | No | ||
| state | No | ||
| reason | No | ||
| handoff | No | ||
| message | No | ||
| recovery | No | ||
| conflicts | No | ||
| direction | No | ||
| request_id | No | ||
| diagnostics | No | ||
| contract_version | No |