load_sprite
Add a Sprite2D to a Godot scene by specifying a project-relative texture path. Automatically creates and configures the sprite node.
Instructions
Add a Sprite2D using a project-relative texture path.
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": {
"scenePath": "<scenePath>",
"texturePath": "<texturePath>"
},
"name": "load_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeName | No | Sprite2D | |
| scenePath | Yes | ||
| parentPath | No | . | |
| projectPath | No | Optional absolute Godot project path. Defaults to the project selected in Godot MCP Toolkit. | |
| texturePath | Yes |