node_load_sprite_texture
Assign a texture to a Sprite2D node in a Godot scene by providing project, scene, node, and texture paths.
Instructions
Load a sprite into a Sprite2D node.
Category: Node
Args: project_path: Path to the Godot project directory scene_path: Path to the scene file (relative to project) node_path: Path to the Sprite2D node (e.g., "root/Player/Sprite2D") texture_path: Path to the texture file (relative to project)
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": {
"project_path": "<project_path>",
"scene_path": "<scene_path>",
"node_path": "<node_path>",
"texture_path": "<texture_path>"
},
"name": "node_load_sprite_texture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | ||
| scene_path | Yes | ||
| node_path | Yes | ||
| texture_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |