get_resource_preview
Retrieve a base64 preview image for a Godot resource file by specifying its res:// path, useful for inspecting resources without opening them.
Instructions
Get a preview image (base64) for a resource file.
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": {
"path": "<path>"
},
"name": "get_resource_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | res:// path to the resource |