get_uid
Retrieve the unique identifier (UID) for a Godot resource from its file path using Godot's resource database.
Instructions
Read a resource UID using Godot's resource database.
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": {
"resourcePath": "<resourcePath>"
},
"name": "get_uid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | No | Optional absolute Godot project path. Defaults to the project selected in Godot MCP Toolkit. | |
| resourcePath | Yes |