search_layers
Find layers by name, text content, or semantic type in the current Figma selection tree and return full breadcrumb paths.
Instructions
Search layers by name, text content, or semantic type in the current Figma selection tree and return full breadcrumb paths.
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": {
"query": "<query>"
},
"name": "search_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by layer category. Defaults to all. | |
| query | Yes | Case-insensitive search term matched against layer names and text content. |