{
  "capabilities": [
    {
      "id": "text.generate",
      "description": "Generate text from a prompt",
      "input_schema": {
        "prompt": "string"
      },
      "output_schema": {
        "text": "string"
      }
    },
    {
      "id": "image.generate",
      "description": "Generate an image from a prompt, returns a URL",
      "input_schema": {
        "prompt": "string",
        "width": "integer?",
        "height": "integer?"
      },
      "output_schema": {
        "url": "string"
      }
    },
    {
      "id": "text.summarize",
      "description": "Condense a document into a short summary",
      "input_schema": {
        "text": "string"
      },
      "output_schema": {
        "summary": "string"
      }
    },
    {
      "id": "audio.speak",
      "description": "Text to speech, returns an audio URL",
      "input_schema": {
        "text": "string",
        "voice": "string?"
      },
      "output_schema": {
        "url": "string"
      }
    },
    {
      "id": "embed.text",
      "description": "Vector embeddings for retrieval and search",
      "input_schema": {
        "text": "string"
      },
      "output_schema": {
        "vector": "object"
      }
    },
    {
      "id": "math.eval",
      "description": "Evaluate an arithmetic expression exactly",
      "input_schema": {
        "expression": "string"
      },
      "output_schema": {
        "result": "number"
      }
    },
    {
      "id": "code.generate",
      "description": "Generate code from a prompt in a target language",
      "input_schema": {
        "prompt": "string",
        "language": "string?"
      },
      "output_schema": {
        "code": "string"
      }
    },
    {
      "id": "translate.text",
      "description": "Translate text into a target language",
      "input_schema": {
        "text": "string",
        "target_lang": "string"
      },
      "output_schema": {
        "translation": "string"
      }
    },
    {
      "id": "extract.structured",
      "description": "Extract structured JSON data from freeform text",
      "input_schema": {
        "text": "string",
        "fields": "string?"
      },
      "output_schema": {
        "data": "object"
      }
    },
    {
      "id": "classify.text",
      "description": "Classify text into exactly one of the provided labels",
      "input_schema": {
        "text": "string",
        "labels": "object"
      },
      "output_schema": {
        "label": "string"
      }
    },
    {
      "id": "research.web",
      "description": "Answer a question with cited web research",
      "input_schema": {
        "question": "string"
      },
      "output_schema": {
        "text": "string"
      }
    }
  ]
}