{
  "schema_version": "1.0",
  "name": "svg-micro-factory",
  "display_name": "SVG Micro Factory",
  "description": "Professional SVG generation, optimization, and editing platform",
  "version": "1.0.0",
  "vendor": {
    "name": "PlatPhorm News",
    "url": "https://platphormnews.com"
  },
  "homepage": "https://svg.platphormnews.com",
  "documentation": "https://svg.platphormnews.com/api/docs",
  "llms_txt": "https://svg.platphormnews.com/llms.txt",
  "llms_full_txt": "https://svg.platphormnews.com/llms-full.txt",
  "api": {
    "base_url": "https://svg.platphormnews.com/api",
    "version": "v1",
    "openapi": "https://svg.platphormnews.com/api/docs"
  },
  "capabilities": [
    "svg_generation",
    "svg_optimization",
    "svg_validation",
    "image_conversion",
    "template_gallery",
    "emoji_integration"
  ],
  "tools": [
    {
      "name": "svg_generate_icon",
      "description": "Generate icon SVGs with customizable properties",
      "input_schema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Icon name (arrow, check, x, star, heart, etc.)"
          },
          "size": {
            "type": "number",
            "default": 24
          },
          "strokeWidth": {
            "type": "number",
            "default": 2
          },
          "color": {
            "type": "string",
            "default": "#000000"
          }
        },
        "required": [
          "name"
        ]
      }
    },
    {
      "name": "svg_generate_pattern",
      "description": "Generate repeating pattern SVGs",
      "input_schema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Pattern name (dots, lines, grid, waves, chevron, etc.)"
          },
          "size": {
            "type": "number",
            "default": 100
          },
          "color": {
            "type": "string",
            "default": "#3b82f6"
          },
          "backgroundColor": {
            "type": "string",
            "default": "#ffffff"
          },
          "spacing": {
            "type": "number",
            "default": 20
          }
        },
        "required": [
          "name"
        ]
      }
    },
    {
      "name": "svg_generate_qr",
      "description": "Generate QR code SVGs",
      "input_schema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "string",
            "description": "Data to encode"
          },
          "size": {
            "type": "number",
            "default": 200
          },
          "color": {
            "type": "string",
            "default": "#000000"
          },
          "backgroundColor": {
            "type": "string",
            "default": "#ffffff"
          },
          "errorCorrectionLevel": {
            "type": "string",
            "enum": [
              "L",
              "M",
              "Q",
              "H"
            ],
            "default": "M"
          }
        },
        "required": [
          "data"
        ]
      }
    },
    {
      "name": "svg_generate_avatar",
      "description": "Generate identicon-style avatar SVGs",
      "input_schema": {
        "type": "object",
        "properties": {
          "seed": {
            "type": "string",
            "description": "Seed for avatar generation"
          },
          "size": {
            "type": "number",
            "default": 100
          },
          "colors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Color palette"
          }
        },
        "required": [
          "seed"
        ]
      }
    },
    {
      "name": "svg_generate_badge",
      "description": "Generate shield-style badge SVGs",
      "input_schema": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "description": "Left side label"
          },
          "value": {
            "type": "string",
            "description": "Right side value"
          },
          "labelColor": {
            "type": "string",
            "default": "#555555"
          },
          "valueColor": {
            "type": "string",
            "default": "#3b82f6"
          }
        },
        "required": [
          "label",
          "value"
        ]
      }
    },
    {
      "name": "svg_generate_chart",
      "description": "Generate simple chart SVGs",
      "input_schema": {
        "type": "object",
        "properties": {
          "chartType": {
            "type": "string",
            "enum": [
              "pie",
              "bar",
              "line"
            ]
          },
          "data": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "labels": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "colors": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "width": {
            "type": "number",
            "default": 400
          },
          "height": {
            "type": "number",
            "default": 300
          }
        },
        "required": [
          "chartType",
          "data"
        ]
      }
    },
    {
      "name": "svg_optimize",
      "description": "Optimize SVG using SVGO",
      "input_schema": {
        "type": "object",
        "properties": {
          "svg": {
            "type": "string",
            "description": "SVG content to optimize"
          },
          "multipass": {
            "type": "boolean",
            "default": true
          },
          "floatPrecision": {
            "type": "number",
            "default": 3
          }
        },
        "required": [
          "svg"
        ]
      }
    },
    {
      "name": "svg_validate",
      "description": "Validate SVG syntax",
      "input_schema": {
        "type": "object",
        "properties": {
          "svg": {
            "type": "string",
            "description": "SVG content to validate"
          }
        },
        "required": [
          "svg"
        ]
      }
    },
    {
      "name": "svg_minify",
      "description": "Minify SVG code (remove whitespace)",
      "input_schema": {
        "type": "object",
        "properties": {
          "svg": {
            "type": "string"
          }
        },
        "required": [
          "svg"
        ]
      }
    },
    {
      "name": "svg_prettify",
      "description": "Format SVG code with proper indentation",
      "input_schema": {
        "type": "object",
        "properties": {
          "svg": {
            "type": "string"
          },
          "indent": {
            "type": "number",
            "default": 2
          }
        },
        "required": [
          "svg"
        ]
      }
    },
    {
      "name": "svg_to_data_uri",
      "description": "Convert SVG to data URI for embedding",
      "input_schema": {
        "type": "object",
        "properties": {
          "svg": {
            "type": "string"
          },
          "encode": {
            "type": "string",
            "enum": [
              "base64",
              "url"
            ],
            "default": "base64"
          }
        },
        "required": [
          "svg"
        ]
      }
    },
    {
      "name": "svg_from_emoji",
      "description": "Convert emoji to SVG icon",
      "input_schema": {
        "type": "object",
        "properties": {
          "emoji": {
            "type": "string",
            "description": "Emoji character"
          },
          "size": {
            "type": "number",
            "default": 64
          },
          "style": {
            "type": "string",
            "enum": [
              "twemoji",
              "noto",
              "openmoji"
            ],
            "default": "twemoji"
          }
        },
        "required": [
          "emoji"
        ]
      }
    },
    {
      "name": "svg_get_templates",
      "description": "Get available SVG templates from gallery",
      "input_schema": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "enum": [
              "icons",
              "patterns",
              "illustrations",
              "logos",
              "all"
            ],
            "default": "all"
          },
          "limit": {
            "type": "number",
            "default": 20
          }
        }
      }
    },
    {
      "name": "svg_analyze",
      "description": "Analyze SVG structure and metadata",
      "input_schema": {
        "type": "object",
        "properties": {
          "svg": {
            "type": "string"
          }
        },
        "required": [
          "svg"
        ]
      }
    },
    {
      "name": "svg_transform",
      "description": "Apply transformations to SVG",
      "input_schema": {
        "type": "object",
        "properties": {
          "svg": {
            "type": "string"
          },
          "scale": {
            "type": "number"
          },
          "rotate": {
            "type": "number"
          },
          "translateX": {
            "type": "number"
          },
          "translateY": {
            "type": "number"
          },
          "flipX": {
            "type": "boolean"
          },
          "flipY": {
            "type": "boolean"
          }
        },
        "required": [
          "svg"
        ]
      }
    }
  ],
  "webhooks": {
    "endpoint": "https://svg.platphormnews.com/api/webhooks",
    "events": [
      "svg.generated",
      "svg.optimized",
      "svg.converted",
      "svg.validated",
      "template.created",
      "template.updated",
      "api.error",
      "rate.limited"
    ],
    "signing": {
      "algorithm": "HMAC-SHA256",
      "header": "X-SVG-Signature"
    }
  },
  "network": {
    "emoji": "https://emoji.platphormnews.com",
    "ascii": "https://ascii.platphormnews.com",
    "json": "https://json.platphormnews.com",
    "mcp": "https://mcp.platphormnews.com"
  },
  "rate_limits": {
    "anonymous": "100/hour",
    "authenticated": "1000/hour",
    "burst": "10/second"
  },
  "contact": {
    "github": "https://github.com/mbarbine/svg-micro-factory",
    "twitter": "https://twitter.com/PlatphormNews"
  }
}