Add Layout Table
add_layout_tableAdd an attribute table to a print layout for a vector layer, controlling position, size, and maximum rows displayed.
Instructions
Add an attribute table for a vector layer to a print layout. max_rows caps the number of features shown. Position/size in mm.
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": {
"layout_name": "<layout_name>",
"layer_id": "<layer_id>"
},
"name": "add_layout_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| width | No | ||
| height | No | ||
| layer_id | Yes | ||
| max_rows | No | ||
| layout_name | Yes |