{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/stormmcp/json-schema/stormmcp-activity-detail-response-schema.json",
  "title": "ActivityDetailResponse",
  "description": "The full request/response payload for a single tool call (AI-50 call detail).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stormmcp-dynamicgateway-api-openapi.yml#/components/schemas/ActivityDetailResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Gets or sets the request-log row identifier.",
      "format": "uuid"
    },
    "timestamp": {
      "type": "string",
      "description": "Gets or sets the call start time.",
      "format": "date-time"
    },
    "toolName": {
      "type": [
        "null",
        "string"
      ],
      "description": "Gets or sets the tool name, or null when it was not captured."
    },
    "outcome": {
      "description": "Gets or sets the mapped outcome.",
      "$ref": "#/$defs/ActivityOutcome"
    },
    "requestObject": {
      "type": [
        "null",
        "string"
      ],
      "description": "Gets or sets the recorded request payload. Null for an organic memory call.\nThe host omits nulls, so this property is stamped to emit JSON null."
    },
    "responseObject": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "string"
      },
      "description": "Gets or sets the recorded response payload frames. Null for an organic memory call.\nThe host omits nulls, so this property is stamped to emit JSON null."
    },
    "client": {
      "type": [
        "null",
        "string"
      ],
      "description": "Gets or sets the durable MCP client name stamped at write time, or null when unknown (D-011)."
    }
  },
  "$defs": {
    "ActivityOutcome": {
      "type": "integer",
      "description": "Outcome of a recorded tool call (MCPG-1156), mapped from the request-log status."
    }
  }
}