Rename a layer (direct)
rename_layerChange a layer's id from oldLayerId to newLayerId. Re-keys any existing filter chain and preserves insertion order among sibling layers. Strict: newLayerId must not already be in use (current OR tombstoned) in this workspace. Subsequent ops must reference the layer by its new id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_id | Yes | ||
| rationale | No | Optional short label (≤300 chars) for the map edit history, e.g. "add wildfire layer". Omit it to send nothing beyond the tool arguments. | |
| newLayerId | Yes | New id. Must be unique within the workspace. | |
| oldLayerId | Yes |