{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/awraiter-ai/json-schema/awraiter-ai-tool-catalog-schema.json",
  "title": "ToolCatalog",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/awraiter-ai-catalog-api-openapi.yml#/components/schemas/ToolCatalog",
  "type": "object",
  "properties": {
    "ok": {
      "const": true
    },
    "data": {
      "type": "object",
      "properties": {
        "tools": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "method": {
                "enum": [
                  "GET",
                  "POST"
                ]
              },
              "path": {
                "type": "string"
              },
              "inputSchema": {
                "type": "object"
              },
              "outputSchema": {
                "type": "object"
              },
              "annotations": {
                "$ref": "#/$defs/ToolAnnotations"
              }
            },
            "required": [
              "name",
              "description",
              "method",
              "path",
              "inputSchema",
              "annotations"
            ]
          }
        }
      },
      "required": [
        "tools"
      ]
    }
  },
  "required": [
    "ok",
    "data"
  ],
  "$defs": {
    "ToolAnnotations": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "readOnlyHint": {
          "type": "boolean"
        },
        "destructiveHint": {
          "type": "boolean"
        },
        "idempotentHint": {
          "type": "boolean"
        },
        "openWorldHint": {
          "type": "boolean"
        }
      },
      "required": [
        "readOnlyHint"
      ]
    }
  }
}