get_image
Retrieve a specific image from a Figma .fig file using its 40-character hex hash. Optionally write the image bytes to a given filesystem path.
Instructions
Get a specific image from the .fig file as a resource. Use the hash from list_images.
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": {
"filePath": "<filePath>",
"imageHash": "<imageHash>"
},
"name": "get_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the .fig file | |
| imageHash | Yes | The 40-character hex hash of the image | |
| outputPath | No | Optional filesystem path to write the image bytes |