Create map
cms_create_mapCreate map item. Guidance: Create one CMS map (point of interest) item from map category ids. | context: title, categories, address
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": {
"title": "<title>",
"categories": "<categories>",
"address": "<address>",
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "cms_create_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | Optional SEO payload with title and description. | |
| slug | No | Optional URL slug; the server may normalize it. | |
| No | Optional contact email for the map point. | ||
| title | Yes | Map point name shown in feeds and on the item page. | |
| leadin | No | Optional deck: short intro text placed at the start of the map point list excerpt. 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 | Publication status. Omit on create to default to published. Do not send scheduled. | |
| address | Yes | Street or place address of the point of interest. Required and non-empty. | |
| website | No | Optional website URL for the map point. | |
| latitude | Yes | Latitude of the point in decimal degrees; finite number. | |
| longitude | Yes | Longitude of the point in decimal degrees; finite number. | |
| accessTier | No | 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 | Yes | Non-empty category id array. Use cms_list_cms_sections with type='maps' to discover map category ids. | |
| pinIconUrl | No | Optional pin icon. Built-in choices: 1 = teardrop location marker (default), 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 on create to use built-in icon 1. | |
| phoneNumber | No | Optional contact phone number for the map point. | |
| pinIconColor | No | Optional pin tint as #RGB or #RRGGBB. Omit on create to use #e94f06. An empty string clears the tint. | |
| publishedDate | No | Future ISO datetime for deferred publication. Requires status='stock' when provided. | |
| commentsEnabled | No | Whether end-user comments are enabled for this map item. | |
| useThumbAsPinIcon | No | Whether the map item thumbnail is used as the map pin icon. Stored as off on create; set a thumbnail via a photo paragraph first, then update this flag. | |
| publicationEndDate | No | Future ISO datetime for scheduled unpublication. |