{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/softsync-ai/json-schema/softsync-ai-mcp-skills-response-dto-schema.json",
  "title": "McpSkillsResponseDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/softsync-ai-mcp-skills-api-openapi.yml#/components/schemas/McpSkillsResponseDto",
  "type": "object",
  "properties": {
    "skills": {
      "description": "Available skills — load these instructions before calling other tools",
      "type": "array",
      "items": {
        "$ref": "#/$defs/McpSkillDto"
      }
    }
  },
  "required": [
    "skills"
  ],
  "$defs": {
    "McpSkillDto": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Unique skill identifier"
        },
        "description": {
          "type": "string",
          "description": "Short description of the skill"
        },
        "instructions": {
          "type": "string",
          "description": "Detailed instructions for using the skill and its related tools"
        },
        "relatedTools": {
          "description": "List of related tool/operation names this skill covers",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "references": {
          "description": "Detailed guides for this skill. Load one with GET /mcp/skills/{skillName}/references/{referenceName}.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/McpSkillReferenceDto"
          }
        }
      },
      "required": [
        "name",
        "description",
        "instructions",
        "relatedTools",
        "references"
      ]
    },
    "McpSkillReferenceDto": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Reference name, used to load it"
        },
        "summary": {
          "type": "string",
          "description": "When to read this reference"
        }
      },
      "required": [
        "name",
        "summary"
      ]
    }
  }
}