create_image_texture
Creates a .tres ImageTexture resource that points to an image file, enabling Godot to reference it as a texture.
Instructions
Create an ImageTexture .tres pointing at an image 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>",
"source": "<source>"
},
"name": "create_image_texture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Output .tres path for the new ImageTexture (e.g. "textures/hero_tex.tres") | |
| source | Yes | Source image path relative to project (e.g. "sprites/hero.png") |