analyze_waveguide
Extract width, length, orientation, and bend estimate from a KLayout path shape to assess waveguide geometry.
Instructions
Analyze a path shape as a waveguide: width, length, orientation, and bend estimate.
Args:
session_id: Session returned by open_layout.
target_id: Id of a path shape returned by query_region.
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>",
"target_id": "<target_id>"
},
"name": "analyze_waveguide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_id | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||