reset_story
Clear all story progress and choices to restart the interactive reincarnation narrative from the beginning.
Instructions
Reset the story completely
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": {
"user_id": "<user_id>"
},
"name": "reset_story"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- main.py:352-357 (handler)The handler function for the 'reset_story' tool. It deletes the user's story state from the global dictionary and returns a confirmation message. Registered via @mcp.tool() decorator.
@mcp.tool() def reset_story(user_id: str) -> str: """Reset the story completely""" if user_id in story_states: del story_states[user_id] return "Story has been reset. Type 'Arise' to begin anew."