Update map
cms_update_mapUpdate map item. Guidance: Update one CMS map item by map item id. | context: id
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "cms_update_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Map item id returned by cms_list_maps. | |
| meta | No | Optional SEO payload with title and description. | |
| slug | No | Omit to keep the current slug; send to replace it. | |
| No | Omit to keep the current contact email; send to replace it. | ||
| title | No | Omit to keep the current name; send to replace it. | |
| leadin | No | Omit to keep the current deck; send to replace it. Plain text: HTML tags are removed, and so is the text after a bare '<' (write 'under 12', not '<12'). Not returned by read tools, and cleared when the map point is saved in the back office. | |
| status | No | Omit to keep the current publication state. Do not send scheduled. | |
| address | No | Omit to keep the current address; send a non-empty string to replace it. | |
| website | No | Omit to keep the current website URL; send to replace it. | |
| latitude | No | Omit to keep the current latitude; send a finite number to replace it. | |
| longitude | No | Omit to keep the current longitude; send a finite number to replace it. | |
| accessTier | No | Replacement paywall tier. 'premium' locks the item behind an in-app purchase; 'free' leaves it open. Applies only to apps that sell in-app purchases. | |
| categories | No | Omit to keep placement. Send non-empty category ids to replace placement. | |
| pinIconUrl | No | Replacement pin icon. Built-in choices: 1 = teardrop location marker, 2 = triangular flag, 3 = five-point star, 4 = pushpin, 5 = filled circle. For a custom pin, send an HTTP(S) image URL, raw base64 image, or image data URI. Omit to keep the current icon. | |
| phoneNumber | No | Omit to keep the current contact phone number; send to replace it. | |
| pinIconColor | No | Replacement pin tint as #RGB or #RRGGBB. Omit to keep the current tint; send an empty string to clear it. | |
| publishedDate | No | Future ISO datetime for deferred publication. Requires status='stock' when provided. | |
| commentsEnabled | No | Omit to keep the current comments setting; send true or false to replace it. | |
| useThumbAsPinIcon | No | Whether the map item thumbnail is used as the map pin icon. | |
| publicationEndDate | No | Future ISO datetime for scheduled unpublication. Send an empty string to clear an existing scheduled unpublication. |