{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://starwarsnamegenerator.com/mcp-schemas/generate_droid_name.response.json",
  "title": "GenerateDroidNameResponse",
  "description": "Result of generate_droid_name.",
  "type": "object",
  "properties": {
    "content": {
      "type": "array",
      "description": "MCP content blocks. Text blocks carry the human-readable result.",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "text"
            ]
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "text"
        ]
      }
    },
    "structuredContent": {
      "type": "object",
      "properties": {
        "droidClass": {
          "type": "string"
        },
        "names": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "names"
      ]
    },
    "isError": {
      "type": "boolean",
      "description": "Present and true when the call failed."
    }
  },
  "required": [
    "content"
  ]
}
