Implementation
gradeNot graded
gradeNot graded
get_prefab_infoAnswer
Look up one official Prefab/entity ID and return its name, category labels/IDs, thumbnail URL and PNG pixel dimensions. Does not list the catalog or edit the canvas. Add a verified result with type:prefab and prefabId; Lua defines its ID in the script-local PREFAB_IDS table and draws with ImageSource.Prefab. Six-digit imageAssetId sprites use a separate catalog. Unlisted IDs never request a PNG; entries without thumbnails cannot be added.
View tool JSON
{
"name": "get_prefab_info",
"kind": "answer",
"impl": "imperative",
"description": "Look up one official Prefab/entity ID and return its name, category labels/IDs, thumbnail URL and PNG pixel dimensions. Does not list the catalog or edit the canvas. Add a verified result with type:prefab and prefabId; Lua defines its ID in the script-local PREFAB_IDS table and draws with ImageSource.Prefab. Six-digit imageAssetId sprites use a separate catalog. Unlisted IDs never request a PNG; entries without thumbnails cannot be added.",
"inputSchema": {
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"minimum": 1,
"maximum": 4294967295,
"description": "Official Prefab/entity ID, e.g. 20001003"
},
"refresh": {
"type": "boolean",
"default": false
}
}
}
}