query_nodes
Search design canvas nodes by type, name regex, text content, bounds, and parent hierarchy. Apply AND/OR/NOT filters to retrieve targeted results with pagination and field projections.
Instructions
High-performance structured search engine for querying canvas nodes by type, name regex, text content, bounds, parent hierarchy, and logical AND/OR/NOT conditions with pagination and projections.
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": "query_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return (default: 20, max: 100). | |
| fileId | No | Optional target file ID. | |
| filter | No | ||
| offset | No | Pagination offset (default: 0). | |
| sortBy | No | Result sorting order. | |
| compact | No | If true, returns lightweight compact summaries to minimize token usage. | |
| projection | No | Specific fields to return (e.g. ["id", "name", "width", "height", "textContent"]). |