{
  "tools": [
    {
      "name": "record_step",
      "description": "Append a sealed entry to a session's timeline.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "session_id": {
            "type": "string",
            "description": "The session this step belongs to."
          },
          "observed": {
            "type": "string",
            "description": "What the agent saw or received."
          },
          "decided": {
            "type": "string",
            "description": "What it decided, and why, in one sentence."
          },
          "action": {
            "type": "object",
            "description": "The tool call it made, if any."
          }
        },
        "required": [
          "session_id",
          "observed",
          "decided"
        ]
      },
      "request": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "tools/call",
        "params": {
          "name": "record_step",
          "arguments": {
            "session_id": "ses_9c02",
            "observed": "Three flights Dublin to Lisbon under €200 on 12 November",
            "decided": "Chose the 10:40 departure: cheapest option that arrives before the 15:00 meeting",
            "action": {
              "tool": "book_flight",
              "arguments": {
                "flight": "DL-LIS-1040"
              }
            }
          }
        }
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 1,
        "result": {
          "structuredContent": {
            "sequence": 14,
            "hash": "bb32f3226797c14388630865218a93d429670f388467e1d2eed7cda8f4bd1068",
            "previous_hash": "365c82698b790d9bf398838d3ac45e849a93ab26034b496b1c5257f214016a10",
            "recorded_at": "2026-10-04T20:40:12Z"
          },
          "isError": false
        }
      }
    }
  ]
}
