Get Resource Info
godot_get_resourceRetrieve metadata for Godot project resource files like textures, audio, or meshes by providing their res:// path to access type, name, and properties.
Instructions
Returns metadata about a specific resource file (texture, audio, mesh, etc.).
Args:
resource_path (string): res:// path to the resource e.g. "res://assets/player.png"
Returns: { path, type, name, metadata: object }
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": {
"resource_path": "<resource_path>"
},
"name": "godot_get_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_path | Yes | res:// path to the resource |