get_focused_widget
Identify which Tkinter widget currently has focus. Returns the widget's ID as JSON, or null if no widget is focused.
Instructions
Get the currently focused widget.
Returns: JSON with the focused widget's ID or null if no widget has focus
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": "get_focused_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |