Compare Styles Tool
compare_styles_toolCompare two Mapbox styles to identify differences in layers, sources, and properties.
Instructions
Compares two Mapbox styles and reports differences in structure, layers, sources, and properties
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| styleA | Yes | First Mapbox style (JSON string or style object) | |
| styleB | Yes | Second Mapbox style (JSON string or style object) | |
| ignoreMetadata | No | Ignore metadata fields like id, owner, created, modified |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | Summary of differences | |
| identical | Yes | Whether the styles are identical | |
| differences | Yes | List of differences found |