Selected element
selected_elementRetrieve details for the UI element currently selected in the layout-debug window—bounding box, code anchors, ancestor chain, and live edits. Use these anchors to find and modify its source.
Instructions
What the user has selected in the layout-debug window right now: box, anchors for finding it in code, ancestor chain, live edits.
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": "selected_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||