ask_guidance_questions
Present three soul-searching questions to guide users through personalized reincarnation story paths, helping them explore character choices and narrative directions in interactive storytelling.
Instructions
Present the three guidance questions to the user
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes |
Implementation Reference
- main.py:218-227 (handler)The main handler function for the 'ask_guidance_questions' tool. Decorated with @mcp.tool() for registration. It retrieves the user's story state, checks if the story has started, updates the context, and returns the three guidance questions by calling the helper function.@mcp.tool() def ask_guidance_questions(user_id: str) -> str: """Present the three guidance questions to the user""" state = get_user_state(user_id) if not state["story_started"]: return "Please start the story first by typing 'Arise' or using start_story()." state["current_context"] = "Asking guidance questions to determine reincarnation path" return str(three_guidance_questions())
- main.py:43-57 (helper)Helper function that generates and returns the static string containing the three guidance questions presented to the user.@mcp.prompt() def three_guidance_questions() -> str: """Three questions to guide the reincarnation choice""" return """ Before you choose your path, I must ask you three questions to guide your decision: **Question 1:** In your heart, how deep does the wound of betrayal run? Are you consumed by a need for justice against those who wronged you, or do you seek to leave that past behind and embrace a new beginning? **Question 2:** Do you yearn for a journey filled with unexpected adventures, hidden treasures, and the simple comforts of home, much like the tales of hobbits and their cozy holes? **Question 3:** Are you drawn to the call of the sea, where freedom, friendship, and the pursuit of dreams define existence, even if it means facing great dangers and challenges? Please answer these questions, and based on your responses, I shall help you determine which reincarnation suits your soul best. """