add_legend
Add a map legend annotation to a CAD drawing, listing domain layers or categories at a specified position. Use it to label grouped map data for clear interpretation.
Instructions
Add a simple map legend annotation listing domain layers or categories.
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>",
"items": "<items>"
},
"name": "add_legend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| layer | No | ||
| title | No | ||
| position | Yes | ||
| drawing_id | Yes |