import_shader_by_id
Imports a shader into the current Figma file by ID or name so it can be applied. Idempotent if already imported; returns the shader with property definitions.
Instructions
Import a shader into the current file so it can be applied. Pass shaderId (from list_shaders) or name. Idempotent if the shader is already imported; returns the shader with imported:true and populated propertyDefinitions.
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": "import_shader_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Shader name from list_shaders, if you do not have the id. | |
| shaderId | No | Shader id from list_shaders. |