Retrieve Mapbox Style Tool
retrieve_style_toolRetrieve a specific Mapbox style by its ID for use in map customization and API integration.
Instructions
Retrieve a specific Mapbox style by ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| styleId | Yes | Style ID to retrieve |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique style identifier | |
| fog | No | Fog properties | |
| name | Yes | Human-readable name for the style | |
| zoom | No | Default zoom level | |
| draft | No | Whether this is a draft version | |
| light | No | Global light source (deprecated, use lights) | |
| owner | Yes | Username of the style owner | |
| pitch | No | Default pitch in degrees | |
| center | No | Default map center [longitude, latitude] | |
| glyphs | No | URL template for glyph sets | |
| layers | Yes | Layers in draw order | |
| lights | No | Array of 3D light sources | |
| sprite | No | Base URL for sprite image and metadata | |
| bearing | No | Default bearing in degrees | |
| created | Yes | ISO 8601 timestamp when style was created | |
| imports | No | Imported styles | |
| sources | Yes | Data source specifications | |
| terrain | No | Global terrain elevation | |
| version | Yes | Style specification version number. Must be 8 | |
| metadata | No | Arbitrary properties for tracking | |
| modified | Yes | ISO 8601 timestamp when style was last modified | |
| protected | No | Whether style is protected from modifications | |
| projection | No | Map projection | |
| transition | No | Default transition timing | |
| visibility | Yes | Style visibility setting |