add_scale_bar
Places a scale bar annotation on a map drawing to show distance and scale. Specify position, segment length, and optional label or layer.
Instructions
Add a simple scale bar annotation to a map drawing.
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": {
"drawing_id": "<drawing_id>",
"position": "<position>",
"segment_length": "<segment_length>"
},
"name": "add_scale_bar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| layer | No | ||
| position | Yes | ||
| segments | No | ||
| drawing_id | Yes | ||
| segment_length | Yes |