Add items to a map
add_itemsAdd up to 150 items in one call (300 per map, 300 logos found by domain and 80 uploaded or fetched images per map). For each item give a logo source: domain (the server finds the site's logo), imageUrl, imageBase64, or imageQuery (a license-safe picture search, for things with no website such as characters or places). The server downloads and stores logos itself, so exports never break. Items without x/y (quadrant), tier (tier list), row and col (grid) or country, subdivision, city or lat/lon (geo) land in the tray for the person to place. Geo maps: one note per country, for example {country: "FR", title: "France", body: "Oui, bien sûr. Then silence."}; a logo pin on a city: {city: "Berlin", kind: "pin", domain: "n26.com"}; the page lays the cards out around the map. Clusters maps (style "clusters"): one item per tool, {country: "FR", domain: "mistral.ai", name: "Mistral"}; they are grouped by country into the cards. Returns the new item ids.
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": {
"mapId": "<mapId>",
"token": "<token>",
"items": "<items>"
},
"name": "add_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| mapId | Yes | The map id from create_map. | |
| token | Yes | The editToken from create_map. Required for every change. |