items_in_region
Identify footprints, tracks, vias, zones, and text inside a rectangular area defined by millimeter coordinates, optionally filtered by layer name.
Instructions
What lies inside a rectangle (mm corners): footprints, tracks per net/layer, vias, zones, text. Optional layer name (e.g. "F.Cu", "B.Silkscreen") restricts the answer.
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": "items_in_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | ||
| x2 | No | ||
| y1 | No | ||
| y2 | No | ||
| path | No | ||
| layer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |