obj_set_grid
Sets the snap grid and visible grid size in mils for the active schematic, letting you adjust drawing precision and on-screen grid spacing without changing either value when set to 0.
Instructions
Set the snap grid and/or visible grid size for the active schematic.
Args: snap_grid: Snap grid size in mils (0 = don't change) visible_grid: Visible grid size in mils (0 = don't change)
Returns: Dictionary with the resulting grid sizes
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "obj_set_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snap_grid | No | ||
| visible_grid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||