Export story
export_storyExport a story by ID as inline JSON or Markdown, including assignments, profiles, summaries, branches, turns, and statuses; treat exported dialogue as sensitive.
Instructions
Render a story as JSON or Markdown containing assignments, profiles, summaries, branches, turns and statuses. The document is returned inline in this result; it is not a downloadable file and no filesystem path is accepted or exposed. Exports can contain private dialogue, so treat the returned text as sensitive.
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": {
"story_id": "<story_id>"
},
"name": "export_story"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | json | |
| story_id | Yes | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| note | Yes | Delivery note. The content is returned in this tool result; it is not a downloadable file and no server-local path is exposed. | |
| chars | Yes | ||
| format | Yes | ||
| content | Yes | ||
| story_id | Yes | ||
| truncated | Yes |