create_map
Make a map in the dashboard's map builder from pins, a spreadsheet the human pasted (csv, addresses looked up for them, one search each), and lines or areas, with its settings: a store locator, a list beside the map, category colours and symbols, a look. It shows on any site with one tag (map_code) and changes there within a minute of every later edit. Owner or admin. Within the plan's number of maps and pins per map; past them it answers site_map_limit or site_map_pin_limit, an upgrade to offer.
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": {
"name": "<name>"
},
"name": "create_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | A spreadsheet the human pasted, as CSV with a header row, instead of pins: columns such as name, address, city, postcode, country, latitude, longitude, phone, website, category, hours, notes, photo, button, button_url and features ("Parking | Wheelchair access") (other spellings are understood). Rows without coordinates are looked up by their address, one search each, remembered for the map so the same address is never looked up twice. | |
| name | Yes | The map's name, as the dashboard lists it. | |
| pins | No | Pins as the embed reads them, each {lng, lat, title, text, address, phone, url, category, hours, photo, glyph, button, buttonUrl, closedUntil, notice, features}: hours in OpenStreetMap's opening_hours spelling ("Mo-Fr 09:00-17:30; Sa 10:00-14:00"), glyph a built-in symbol (shop, food, coffee, bar, hotel, parking, health, school, park, … 62 in all), closedUntil YYYY-MM-DD, features a list of what the place has (["Parking", "Wheelchair access"], at most 20). Each needs lng and lat; to place by address use csv. An id is given to any pin without one. | |
| glyphs | No | A built-in symbol per category, e.g. {"Cafés": "coffee"}. | |
| shapes | No | Lines and areas, each {kind: "line" or "area", geometry: a GeoJSON LineString, MultiLineString, Polygon or MultiPolygon, title, text, url, color, width, opacity, dash, category}: a route, a delivery zone, a park. Up to 500 a map and 20,000 points across them. | |
| settings | No | Settings by name, the rest left at their defaults: style (a built-in look: meadow, midnight, neon, vintage, blueprint, sakura; auto for light or dark as the visitor's device is; or style:<id> of a published style), locator (true for a store locator: a search for the nearest place, with a list), list ("left", "right" or "below": a list of the places beside the map), search (true: a place search box), filter (true: category buttons), locate (true: a "where am I" button), directions ("auto", "google", "apple", "off", or "route" to draw routes on the page), cluster ("auto", "true", "false"), units ("km", "mi"), radius (km, 1-1000), country (["ie", "gb"]: where the locator searches), timezone ("Europe/Dublin"), language (a label language, e.g. "de"), center ([lng, lat]) and zoom (0-24; both left out to fit the pins), controls ("zoom,fullscreen,scale" or "none"), gestures ("auto", "greedy", "off"), consent (true: a "Show map" button before anything loads), accent ("#0a7cff"), theme ("auto", "light", "dark"), features (true: in the locator or the list, a button per feature the pins carry, each narrowing the places to those that have it). | |
| categories | No | Colours by category name, e.g. {"Shops": "#e11d48", "Cafés": "#2563eb"}. |