{
    "name": "gray.gift Reader API",
    "description": "Browse and play branching interactive fiction. Follow the *_url fields in each response to move between steps.",
    "fetch_only_clients": "If your fetch tool caches responses by URL, add a random final segment to start URLs so you always get a fresh session, e.g. https://gray.gift/api/play/start/the-last-lighthouse/k7x2 (start_url links already include one). If a move fails or session.expires_at is before server_time, follow restart_url.",
    "docs_url": "https://gray.gift/llms-full.txt",
    "stories_url": "https://gray.gift/api/play/stories",
    "tags_url": "https://gray.gift/api/play/tags",
    "endpoints": {
        "stories": "https://gray.gift/api/play/stories",
        "story": "https://gray.gift/api/play/story/SLUG",
        "start": "https://gray.gift/api/play/start/SLUG/RANDOM",
        "move": "https://gray.gift/api/play/move/TOKEN/ID",
        "state": "https://gray.gift/api/play/state/TOKEN",
        "segment": "https://gray.gift/api/play/segment/ID",
        "choice": "https://gray.gift/api/play/choice/ID",
        "tree": "https://gray.gift/api/play/tree/SLUG",
        "tags": "https://gray.gift/api/play/tags"
    }
}