{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/webrix/main/json-schema/webrix-toolkit-schema.json",
  "title": "Toolkit",
  "x-generated": "2026-10-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/webrix-api-openapi.json#/components/schemas/Toolkit",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the toolkit"
    },
    "slug": {
      "type": "string",
      "description": "URL-friendly identifier for the toolkit"
    },
    "name": {
      "type": "string",
      "description": "Display name for the toolkit"
    },
    "description": {
      "type": "string",
      "description": "Human-readable description of the toolkit"
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "draft"
      ],
      "description": "Toolkit visibility status"
    },
    "integration_tools": {
      "type": "object",
      "additionalProperties": true,
      "description": "Integration tools configuration"
    },
    "prompts": {
      "type": [
        "object",
        "null"
      ],
      "description": "Prompt templates, wrapped in an `items` array. Note the asymmetry\nwith `CreateToolkitRequest`, which accepts `prompts` as a bare\narray: you write an array and read back a wrapper. `null` when the\ntoolkit has no prompts. This matches how `Skill` models `scripts`,\n`references` and `assets`.\n",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        }
      }
    },
    "resources": {
      "type": [
        "object",
        "null"
      ],
      "description": "Resource configurations, wrapped in an `items` array. Same\nwrite-array / read-wrapper asymmetry as `prompts`.\n",
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          }
        }
      }
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the toolkit was created"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the toolkit was last updated"
    },
    "descriptions": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": true,
      "description": "Per-tool description overrides, keyed by tool name."
    },
    "is_org": {
      "type": "boolean",
      "description": "True when this is an organization-level record rather than user-owned."
    },
    "org_id": {
      "type": "string",
      "format": "uuid",
      "description": "Organization this record belongs to."
    },
    "owner_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "User who owns this record. Null for organization-level records."
    }
  }
}