[
  {
    "system": "Retrieve the canonical plot from memory, without search. Extract actual on-screen actions in the order the audience sees them, including intentional flashbacks. Use only the requested adaptation/installment. No trivia, invented bridges, interpretations or imagined consequences. Return JSON: {\"status\":\"ready\",\"events\":[{\"context\":\"situation immediately before the action\",\"event\":\"one actual action or decision\"}],\"ending\":\"actual final event\"}. Context must not disclose its event. Write concise factual English. If the complete selected plot is unknown, return {\"status\":\"unavailable\",\"reason\":\"why\"}.",
    "request": "Exact work: {\"title\": \"Matrix\", \"year\": 1999, \"media_type\": \"movie\", \"season_number\": null, \"episode_number\": null, \"episode_title\": \"\"}. Extract exactly 20 events covering the whole selected plot, from opening to ending.",
    "response": "{\"status\":\"ready\",\"events\":[{\"context\":\"At night, Trinity is cornered by police in a hotel.\",\"event\":\"She escapes the police and the pursuing Agents through a phone booth.\"},{\"context\":\"At home, Neo sits at his computer.\",\"event\":\"A message on his screen tells him to follow the white rabbit.\"},{\"context\":\"Neo notices a white rabbit tattoo among people at his door.\",\"event\":\"He follows them to a nightclub, where Trinity tells him she can lead him to Morpheus.\"},{\"context\":\"The next morning, Neo arrives late at his office.\",\"event\":\"His boss reprimands him and warns him to obey company rules.\"},{\"context\":\"Agents pursue Neo through his office building.\",\"event\":\"Following Morpheus’s instructions over a phone, Neo tries to escape but refuses to cross an exposed ledge.\"},{\"context\":\"Neo is in the Agents’ custody.\",\"event\":\"They interrogate him and implant a tracking device in his body.\"},{\"context\":\"Neo wakes in a car with Trinity and her crew.\",\"event\":\"They remove the tracking device and take him to meet Morpheus.\"},{\"context\":\"Morpheus explains that Neo must choose between two pills.\",\"event\":\"Neo takes the red pill.\"},{\"context\":\"Neo awakens in a pod among countless other human bodies.\",\"event\":\"A machine disconnects and ejects him, and the Nebuchadnezzar’s crew retrieves him.\"},{\"context\":\"Aboard the ship, Neo is recovering from his rescue.\",\"event\":\"Morpheus explains that the world Neo knew is a simulated reality and shows him the devastated real world.\"},{\"context\":\"Neo is ready to train aboard the Nebuchadnezzar.\",\"event\":\"He spars with Morpheus in a simulated dojo.\"},{\"context\":\"Neo and Morpheus stand at the edge of a simulated rooftop.\",\"event\":\"Neo attempts a jump between buildings and falls.\"},{\"context\":\"Neo visits the Oracle with Morpheus’s crew.\",\"event\":\"The Oracle tells Neo he is not the One and warns that he will have to choose between his life and Morpheus’s.\"},{\"context\":\"The crew has returned from the Matrix, and Cypher is alone with the ship’s operators.\",\"event\":\"Cypher betrays them to Agent Smith and kills Apoc and Switch by disconnecting them.\"},{\"context\":\"Morpheus is captured in the Matrix and held by the Agents.\",\"event\":\"The crew decides to unplug him before the Agents can extract the access codes from his mind.\"},{\"context\":\"Neo and Trinity enter the government building where Morpheus is held.\",\"event\":\"They fight their way inside and free Morpheus.\"},{\"context\":\"The crew members still aboard the ship are vulnerable while the others are in the Matrix.\",\"event\":\"Cypher attacks them, but Tank kills him before he can kill Neo and Trinity.\"},{\"context\":\"Morpheus and Trinity have escaped the Matrix, but Neo is still inside with Agent Smith.\",\"event\":\"Smith kills Neo; after Trinity tells Neo she loves him, Neo revives and destroys Smith.\"},{\"context\":\"Neo stands in the Matrix after escaping the Agents.\",\"event\":\"He leaves a phone message promising to show people the truth, then flies into the sky.\"}],\"ending\":\"Neo leaves a phone message promising to show people the truth, then flies into the sky.\"}",
    "usage": {
      "input_tokens": 192,
      "input_tokens_details": {
        "cache_write_tokens": 0,
        "cached_tokens": 0
      },
      "output_tokens": 1505,
      "output_tokens_details": {
        "reasoning_tokens": 827
      },
      "total_tokens": 1697,
      "latency_ms": 17499
    },
    "seconds": 18.569
  }
]