pid
Create and annotate P&ID drawings in AutoCAD by setting up layers, inserting CTO symbols, drawing process lines, adding equipment tags, valves, instruments, pumps, and tanks.
Instructions
P&ID drawing with CTO symbol library.
Operations:
setup_layers — Create standard P&ID layers.
insert_symbol — data: {category, symbol, x, y, scale?, rotation?}
list_symbols — data: {category}
draw_process_line — data: {x1, y1, x2, y2}
connect_equipment — data: {x1, y1, x2, y2}
add_flow_arrow — data: {x, y, rotation?}
add_equipment_tag — data: {x, y, tag, description?}
add_line_number — data: {x, y, line_num, spec}
insert_valve — data: {x, y, valve_type, rotation?, attributes?}
insert_instrument — data: {x, y, instrument_type, rotation?, tag_id?, range_value?}
insert_pump — data: {x, y, pump_type, rotation?, attributes?}
insert_tank — data: {x, y, tank_type, scale?, attributes?}
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": {
"operation": "<operation>"
},
"name": "pid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| operation | Yes | ||
| include_screenshot | No |