geo_style
Configure semantic basemap styles. Operations: explain and schema retrieve public definitions; intent generates a proposal; preview compiles changes; save, list, revisions, diff, and delete manage profiles. Submit semantic manifests or preset patches, not raw MapLibre JSON. Authenticated operations affect the current key's profiles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | diff only: the later revision. Defaults to the current one. | |
| base | No | Base preset for the patch. Available presets are listed at /api/styles. | dark |
| from | No | diff only: the earlier revision. Defaults to the one before `to`. | |
| name | No | save only: a human name for the profile. | |
| save | No | intent only: also save the proposal as a profile revision on this key. | |
| slug | No | save and delete: the profile's stable URL id. Defaults to a slug of the name on save. | |
| patch | No | Semantic overrides: {"tokens":{...},"typography":{...},"layers":{"roads.motorway":{"color":"#f2a900"}}}. Layer keys come from the explain operation. | |
| intent | No | intent: text description of the desired basemap. Returns an editable manifest and a summary of applied changes. | |
| operation | No | explain: layer definitions. schema: manifest JSON Schema. intent: generate a style proposal. preview: compile without saving. save: store a profile. list: available presets and profiles. revisions: saved versions. diff: revision comparison. delete: remove a profile. | preview |
| description | No | save: profile description. | |
| includeStyle | No | Include the compiled MapLibre style in addition to the hash, diff, and validation issues. Defaults to false. |