{
  "tools": [
    {
      "name": "open_dispute",
      "description": "Open a case about an order placed by an agent.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "order_id": {
            "type": "string",
            "description": "The order the dispute is about."
          },
          "claim": {
            "type": "string",
            "description": "What went wrong, in one or two sentences."
          },
          "evidence": {
            "type": "array",
            "description": "Order records, messages or agent logs that support the claim."
          }
        },
        "required": [
          "order_id",
          "claim"
        ]
      },
      "request": {
        "jsonrpc": "2.0",
        "id": 1,
        "method": "tools/call",
        "params": {
          "name": "open_dispute",
          "arguments": {
            "order_id": "ord_66120",
            "claim": "Customer's agent ordered size 44; customer says the instruction was size 42.",
            "evidence": [
              "order_record.json",
              "agent_instruction_log.json"
            ]
          }
        }
      },
      "response": {
        "jsonrpc": "2.0",
        "id": 1,
        "result": {
          "structuredContent": {
            "case_id": "case_1874",
            "status": "under_review",
            "decision_expected_by": "2026-10-05T20:00:00+01:00"
          },
          "isError": false
        }
      }
    }
  ]
}
