describe_cell
Retrieve a cell's bounding box, child instances, text labels, and per-layer shapes to inspect layout hierarchy and geometry in a KLayout session.
Instructions
Describe one cell: bounding box, child instances, text labels, and shapes per layer.
Args:
session_id: Session returned by open_layout.
cell: Name of the cell to describe.
depth: How many levels of child instances to expand (0 = none).
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": {
"session_id": "<session_id>",
"cell": "<cell>"
},
"name": "describe_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | Yes | ||
| depth | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||