getNodesSummary
Reduce token usage by summarizing Sketch nodes with statistics and grouping by type, style, position, or size for efficient AI analysis.
Instructions
Get summary of nodes with statistics and grouping to reduce token usage
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": "getNodesSummary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Optional page ID to limit summary to specific page | |
| groupBy | No | How to group nodes for summary | type |
| includeStats | No | Include statistical analysis | |
| maxSamples | No | Maximum sample nodes per group |