Back to Search

neonia_util_svg_layout_validator

1.0.0

A strict layout placement collision detector.

$0.002 / call (Standard Tier)
Updated: May 19, 2026

Overview

A spatial layout placement validator for checking component bounding box collisions on a 2D canvas.

Example Input

JSON payload sent to this tool:

{
  "components": [
    { "component_id": "c1", "x": 10, "y": 10, "width": 50, "height": 50, "allow_overlap": false },
    { "component_id": "c2", "x": 30, "y": 30, "width": 20, "height": 20, "allow_overlap": false }
  ]
}

Example Output

Formatted JSON response returned by this tool:

{
  "is_valid": false,
  "errors": [
    "Spatial collision detected between 'c1' and 'c2'."
  ],
  "warnings": []
}

Setup Configuration

Add the following configuration to your MCP general settings or mcp_config.json:

{
  "mcpServers": {
    "neonia": {
      "serverUrl": "https://mcp.neonia.io/mcp?tools=neonia_util_svg_layout_validator",
      "headers": {
        "Authorization": "Bearer API_KEY"
      }
    }
  }
}