get_uid
Retrieve a Godot 4.4+ project file's UID by specifying the project directory and relative file path, enabling reliable resource references in AI-driven editor workflows.
Instructions
Get the UID for a specific file in a Godot project (for Godot 4.4+)
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": {
"projectPath": "<projectPath>",
"filePath": "<filePath>"
},
"name": "get_uid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the file (relative to project) for which to get the UID | |
| projectPath | Yes | Path to the Godot project directory |