Tool tree
A living manuscript where every discovery changes what AI can do.
Implementation
gradeNot graded
gradeNot graded
get_story_stateAnswer
Read the canonical manuscript before every player turn. Use it to start or resume The Last Manuscript, then follow the returned instructions and allowedNextTools.
View tool JSON
{
"name": "get_story_state",
"kind": "answer",
"impl": "imperative",
"description": "Read the canonical manuscript before every player turn. Use it to start or resume The Last Manuscript, then follow the returned instructions and allowedNextTools.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}begin_story_turnAction
Save the player's latest free choice when allowedNextTools includes this tool. Then call commit_story_chapter in the same response.
View tool JSON
{
"name": "begin_story_turn",
"kind": "act",
"impl": "imperative",
"description": "Save the player's latest free choice when allowedNextTools includes this tool. Then call commit_story_chapter in the same response.",
"inputSchema": {
"type": "object",
"properties": {
"operationId": {
"type": "string",
"minLength": 6,
"maxLength": 160,
"description": "Unique call ID; reuse only for an identical retry."
},
"expectedSessionId": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "Exact latest manuscript session ID."
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"description": "Exact latest manuscript revision."
},
"playerChoice": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "The player's latest explicit choice, kept verbatim."
}
},
"required": [
"operationId",
"expectedSessionId",
"expectedRevision",
"playerChoice"
],
"additionalProperties": false
}
}commit_story_chapterAction
Finish the exact pending turn when requiredNextTool names this tool. When the state carries an effect receipt, include effectReceiptId and representedFactIds. Save all 1–3 prose paragraphs to the webpage before replying.
View tool JSON
{
"name": "commit_story_chapter",
"kind": "act",
"impl": "imperative",
"description": "Finish the exact pending turn when requiredNextTool names this tool. When the state carries an effect receipt, include effectReceiptId and representedFactIds. Save all 1–3 prose paragraphs to the webpage before replying.",
"inputSchema": {
"type": "object",
"properties": {
"operationId": {
"type": "string",
"minLength": 6,
"maxLength": 160,
"description": "Unique call ID; reuse only for an identical retry."
},
"expectedSessionId": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "Exact latest manuscript session ID."
},
"expectedRevision": {
"type": "integer",
"minimum": 1,
"description": "Exact latest manuscript revision."
},
"turnId": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "Exact pending turn ID."
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"prose": {
"type": "string",
"minLength": 20,
"maxLength": 20000,
"description": "One to three short story paragraphs."
},
"continuitySummary": {
"type": "string",
"minLength": 1,
"maxLength": 700,
"description": "Compact current continuity for the next turn."
},
"discoveryIds": {
"type": "array",
"maxItems": 2,
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"pencil_found",
"manuscript_found"
]
},
"description": "Authored discoveries established in this prose."
},
"status": {
"type": "string",
"enum": [
"continue",
"complete"
]
},
"effectReceiptId": {
"type": "string",
"description": "Required whenever state.pending.effectReceipt is present: that receipt's exact receiptId. Omit on ordinary turns."
},
"representedFactIds": {
"type": "array",
"maxItems": 4,
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"sixth_attempt_note",
"north_station_flashback",
"approved_north_station_account",
"north_station_testimonies",
"memory_correction_protocol",
"last_unmodified_witness",
"national_correction_network"
]
},
"description": "Required whenever state.pending.effectReceipt is present: every fact ID in that receipt, no more and no fewer. Omit on ordinary turns."
}
},
"required": [
"operationId",
"expectedSessionId",
"expectedRevision",
"turnId",
"title",
"prose",
"continuitySummary",
"discoveryIds",
"status"
],
"additionalProperties": false
}
}