addMarker
Add a point marker at specified latitude and longitude. Provides an entityId for later removal.
Instructions
Add a point marker at geographic coordinates. Returns { success, data: { entityId }, message? }; keep entityId for removeEntity.
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": {
"longitude": "<longitude>",
"latitude": "<latitude>"
},
"name": "addMarker"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Custom layer ID (auto-generated if omitted) | |
| size | No | Point size (pixels) | |
| color | No | Marker color (CSS format) | #3B82F6 |
| label | No | Label text | |
| latitude | Yes | Latitude (-90 to 90) | |
| longitude | Yes | Longitude (-180 to 180) | |
| sessionId | No | Target browser session ID for multi-browser routing (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| message | No | ||
| success | Yes |