Choose a value that lives across several levels
qa_pick_pathSelects nested values in Cascader, TreeSelect, and drill-down menus by following on-screen paths; reports missing levels so you can see where the path diverged.
Instructions
One call for the widgets where a single value takes several interactions: an Ant Design Cascader (country → region → city, a column per level), a TreeSelect with collapsed branches, a menu of submenus, any drill-down. Pass the path as it reads on screen and it opens the control, clicks each level on a FRESH snapshot (opening a level is exactly what re-renders the popup), expands a branch that hides its children, and closes up afterwards. A level that never appears is reported with the levels that did, so you can see where the path diverged from the page instead of guessing. Requires the one-time “Agent control” confirmation in the panel; without it the extension answers consent-required and does nothing.
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": {
"name": "<name>"
},
"name": "qa_pick_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The control's accessible name, e.g. "Delivery location" | |
| path | No | The levels in order, e.g. ["Ukraine","Kyiv oblast","Kyiv"]. Pass this OR `paths`. | |
| multi | No | Leave the popup open afterwards. Rarely needed now that `paths` exists. | |
| paths | No | SEVERAL values from one control, walked inside ONE opening — e.g. [["Europe","Poland"],["Europe","Germany"]] for a checkable tree. Use this rather than calling the tool twice: a second call clicks the control to open it, which on an already-open popup CLOSES it, and live that left a tree with two picks holding none. A shared parent is not re-clicked (that would toggle the whole branch off). | |
| tabId | No | Target tab (from qa_tabs); omit for the active tab |