Upload an image
upload_imageUpload one image. With asItem true it becomes a draggable item (label = name). Otherwise it is a free image on the canvas, such as a screenshot or a logo next to the title; x, y and w are in pixels of the 1080 wide canvas.
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>",
"name": "<name>"
},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| w | No | Free image width in pixels (default 200). | |
| x | No | Item: -1..1 like add_items. Free image: left edge in pixels. | |
| y | No | Item: -1..1 like add_items. Free image: top edge in pixels. | |
| at | No | Hype cycle and Dunning-Kruger maps: the exact place on the curve, 0 (left) to 100 (right). Overrides phase. | |
| to | No | Sankey maps: the item's flows out, as {"Target label": 35000} or [{"to": "Target", "value": 35000}]. Targets can be items added later in the same call. On Sankey maps every new item goes on the chart; send tray: true to keep one in the tray. | |
| col | No | Grid maps: the column name (for example "Lawful"). | |
| row | No | Grid maps: the row name (for example "Good"). Give row and col together; leave both out for the tray. | |
| band | No | Iceberg maps: the band name (or 0-based index from the tip) the item goes in. Leave out for the tray. | |
| done | No | Checklist maps: true ticks the item off. | |
| edge | No | Flowchart maps: the label on the line from the parent, for example "Yes" or "No". | |
| name | Yes | Label for the image. | |
| ring | No | Tech radar maps: the ring, by name ("Adopt", "Trial", "Assess", "Hold") or 0-based index. Give sector too. Leave out for the tray. | |
| rule | No | Cards maps: the rule, one bold sentence. Words in [brackets] take the accent. | |
| sets | No | Venn maps: the circles the item belongs in, by name, for example ["Relevant", "Timely"] for that overlap, or all of them for the center. Leave out for the tray. | |
| tier | No | Tier lists: the tier name (for example "S") or tier id. Leave out to put the item in the tray. | |
| tray | No | Org chart, flowchart, checklist, leaderboard and scorecard maps: on add_items, true keeps the item off the chart, in the tray. | |
| zone | No | Bell curve maps: the zone the item goes in: "left", "middle" or "right" (or a level name, or 0 to 2). Leave out for the tray. | |
| color | No | Cards maps: the card color, one of paper, ink, orange, purple, yellow, mint (ink is dark), or a hex like "#1E40AF". Text turns light or dark to match. | |
| delta | No | Leaderboard maps: the change since last time, for example 3 or -2; the page shows it with an up or down arrow. | |
| grade | No | Scorecard maps: the grade, "A+" to "F", or a number from 0 to 10. | |
| human | No | Org chart maps: true marks a step where a human still approves (human in the loop). | |
| image | No | Cards maps: a proof image on the card (a screenshot or a post): a public http(s) URL, or base64 / a data: URL (max 2 MB). | |
| mapId | Yes | The map id from create_map. | |
| phase | No | Hype cycle and Dunning-Kruger maps: the phase the item sits in, by name (or the start of one, like "trough") or 0-based index. Items in one phase spread out inside it. Leave out phase and at for the tray. | |
| shape | No | Flowchart maps: box (a step, the default), decision (a question, drawn as a diamond) or end (an outcome). | |
| stack | No | Cards maps: the tools, as domains ("ayrank.com") or {domain, name}. The server stores each logo. | |
| stage | No | Funnel and pyramid maps: the stage or level name (or 0-based index) the item goes in, for example "Demos". Leave out for the tray. | |
| stats | No | Cards maps: 2 to 4 small figures under the big number, [{value: "2,715", label: "answers tracked"}]. | |
| steps | No | Cards maps: 3 to 6 "how to run it" steps, [{text: "...", key: true}] (key highlights one step), or strings ("(key) ..." marks the key one). | |
| token | Yes | The editToken from create_map. Required for every change. | |
| value | No | Leaderboard maps: the value the list is ranked by, for example 1200000. On checklist, leaderboard and scorecard maps every new item goes on the list; send tray: true to keep one in the tray. | |
| asItem | No | true: add as a draggable item. false (default): free image. | |
| marked | No | Bingo maps: true stamps the square, false clears it. | |
| parent | No | Org chart and flowchart maps: the label or id of the box this one reports to (org) or comes after (flow). Leave out for a top box. On these maps every new item goes on the chart; send tray: true to keep one off it. | |
| scores | No | Radar maps: the item's score on each criterion, as {"Price": 8, "Speed": 6} (criteria names) or a list in their order. Items without scores stay in the tray; scores: null takes an item off the chart. | |
| sector | No | Tech radar maps: the sector the item sits in, by name or 0-based index. | |
| symbol | No | Periodic table maps: the element symbol, 1 to 3 letters, for example "Cl". Leave out and the page derives one from the label. | |
| bestFor | No | Cards maps: who the card is for, one line. | |
| caption | No | Cards maps: the line under the big number. | |
| section | No | Section formats: the section the item goes in, by name, for example "Agents" on a levels map, "How it started", or "Data" on a market map. Leave out for the first section. | |
| imageUrl | No | Public http(s) URL of a logo image (png, jpg, webp, gif or svg, max 2 MB). | |
| bigNumber | No | Cards maps: the huge figure on the card, for example "$887K", "11x" or "4% → 17%". On a cards map every new item is a card (send tray: true to keep one off the strip). | |
| imageBase64 | No | The logo itself as base64 or a data: URL (png, jpg, webp, gif or svg, max 2 MB). A whole request can be at most 4 MB, so prefer domain or imageUrl, and send big files in separate calls. |