Create Table
entity_create_tableCreate a table in AutoCAD at the specified coordinates from row data, with optional title, headers, column widths, layer, and text height. Supports native COM tables and ezdxf composite tables.
Instructions
Create a native COM table or an explicitly-labelled ezdxf composite table.
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": {
"x": "<x>",
"y": "<y>",
"rows": "<rows>"
},
"name": "entity_create_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Top-left X coordinate | |
| y | Yes | Top-left Y coordinate | |
| rows | Yes | Data rows; every row must have the same length | |
| layer | No | Target layer | TEXT |
| title | No | Optional title row | |
| headers | No | Optional column header row | |
| row_height | No | ||
| text_height | No | ||
| column_widths | No | Optional explicit widths per column |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||