Collect named properties of named nodes
qa_collectCollect the properties you choose — text, value, name, state, href, attributes — from many matching page nodes in one call, giving you a table instead of repeated page reads.
Instructions
ASK FOR A TABLE INSTEAD OF A PAGE. Name WHICH nodes (a CSS selector, a role, a name fragment — any combination, scoped with within) and WHICH of their properties to take, and get back exactly that, once. «Every row in the list with its name and price», «every link in the nav and where it points», «all the inputs with what they currently hold» are one call here and a dozen with qa_snapshot plus qa_read. Take any of: text · value (what the control HOLDS, read the way the fill engine reads it) · name (accessible name) · role · tag · selector · href · state (disabled/required/invalid/expanded/checked/hidden) · geometry — plus attr: for an attribute and style: for a computed style. A property nobody can supply is named back rather than dropped, so a missing column is never mistaken for a missing feature. Read-only, and the vocabulary is closed: this is a different projection of the page, never a program the page runs.
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": {
"nodes": "<nodes>"
},
"name": "qa_collect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| omit | No | Drop these field paths and keep the rest — the cheap way to lose one huge field (["html"], ["steps"]) without listing everything you want. | |
| take | No | Which properties, e.g. ["name","value","state"] or ["text","attr:data-id","style:color"]. Default ["name","text"]. Alias: `properties`. | |
| limit | No | Cap the rows (max 300). A capped answer says so rather than looking complete. | |
| nodes | Yes | Which nodes. At least one of selector / role / nameContains; collecting the whole page is what qa_snapshot is for. | |
| tabId | No | Target tab (from qa_tabs); omit for the active tab | |
| select | No | Keep only these field paths, e.g. ["ok","fields[].name"]. Dots walk into objects, and a path through a list applies to every entry, keeping it a list. A path that matches nothing is reported back with the field names that ARE there. | |
| frameId | No | Which frame to ask, from qa_frames. Omit for the page itself. A payment form, an SSO step or an embedded widget usually lives in a frame of its own, and a cross-origin one can only be read from inside it. | |
| properties | No | Same as `take`, for when that is the word that came to mind. |