{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "aetherlab_convert",
  "description": "Convert public source URLs with the standalone AetherLab Agent Kit tool.",
  "type": "object",
  "additionalProperties": false,
  "required": ["feature", "files"],
  "properties": {
    "feature": {
      "type": "string",
      "enum": ["html_pdf", "html_pptx", "md_docx", "pdf_md", "spreadsheet_json"]
    },
    "files": {
      "type": "array",
      "minItems": 1,
      "maxItems": 30,
      "items": {"type": "string", "format": "uri", "pattern": "^https?://"},
      "description": "HTML conversions accept 1-30 URLs; other features require exactly one. Combined input size is limited to 30 MB."
    },
    "api_key": {"type": "string", "description": "Prefer the AETHERLAB_API_KEY environment variable."},
    "base_url": {"type": "string", "format": "uri", "default": "https://agent.aetherlab.me"},
    "timeout": {"type": "number", "exclusiveMinimum": 0, "default": 180},
    "download_outputs": {"type": "boolean", "default": false},
    "output_dir": {"type": "string", "default": "aetherlab-output"},
    "pdf_md_image_preference": {
      "type": "string",
      "enum": ["online_urls", "local_files", "raw"],
      "default": "online_urls"
    }
  }
}
