{
  "name": "agent-reads-and-edits",
  "description": "Two-turn fixture where the agent reads a file then edits it",
  "turns": [
    {
      "role": "user",
      "content": "Read the file config.json and change the port to 8080"
    },
    {
      "role": "assistant",
      "content": "Let me read the file first.",
      "toolUses": [
        {
          "name": "Read",
          "input": {
            "file_path": "/tmp/config.json"
          },
          "output": "{ \"port\": 3000, \"host\": \"localhost\" }"
        }
      ]
    },
    {
      "role": "user",
      "content": "Go ahead and make the edit."
    },
    {
      "role": "assistant",
      "content": "I'll update the port to 8080.",
      "toolUses": [
        {
          "name": "Edit",
          "input": {
            "file_path": "/tmp/config.json",
            "old_string": "\"port\": 3000",
            "new_string": "\"port\": 8080"
          },
          "output": "File updated successfully"
        }
      ]
    }
  ]
}
