set_page_item_properties
Set a page item's lock state, visibility, fill color, stroke color, and stroke weight by specifying its page and item index for precision editing.
Instructions
Set properties of a page item
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": {
"pageIndex": "<pageIndex>",
"itemIndex": "<itemIndex>"
},
"name": "set_page_item_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | No | Whether the item is locked | |
| visible | No | Whether the item is visible | |
| fillColor | No | Fill color name | |
| itemIndex | Yes | Index of the page item to modify | |
| pageIndex | Yes | Index of the page containing the item | |
| strokeColor | No | Stroke color name | |
| strokeWeight | No | Stroke weight |