Preview Mapbox Style Tool
preview_style_toolGenerate a preview URL for a Mapbox style by specifying a style ID and public access token. View style with optional title and zoom wheel control.
Instructions
Generate preview URL for a Mapbox style using an existing public token
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Show title in the preview | |
| styleId | Yes | Style ID to preview | |
| zoomwheel | No | Enable zoom wheel control | |
| accessToken | Yes | Mapbox public access token (required, must start with pk.* and have styles:read permission). Secret tokens (sk.*) cannot be used as they cannot be exposed in browser URLs. Please use an existing public token or get one from list_tokens_tool or create one with create_token_tool with styles:read permission. |