Read selection context
design.get_selection_contextRetrieve the current host selection from Figma or XD and normalize it into DesignIR nodes for structured design data.
Instructions
Return the current host selection normalized as DesignIR nodes.
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": "design.get_selection_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No |