create_map_item
Add a map item (e.g., weld, flange) to a drawing. Uses a schema for custom fields; for controlled list fields, provide the list item's pseudo_code pill.
Instructions
Create a map item (a weld, flange, fitting...) pinned to a drawing. Use a schema id from 'list_map_item_schemas'. 'data' is a JSON object of the schema's custom fields; for fields that map to a controlled list, put that list item's 'pseudo_code' pill (from 'list_list_items') as the value instead of free text.
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>",
"schema_id": "<schema_id>",
"label": "<label>"
},
"name": "create_map_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| drawing_id | Yes | ||
| schema_id | Yes | ||
| label | Yes | ||
| notes | No | ||
| data | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |