Skip to content

Commit 8b913ed

Browse files
committed
Doc change
1 parent c41d365 commit 8b913ed

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

MCPForUnity/Editor/Tools/Prefabs/ManagePrefabs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ private static object OpenPrefabStage(string requestedPath)
12831283
{
12841284
if (string.IsNullOrWhiteSpace(requestedPath))
12851285
{
1286-
return new ErrorResponse("'prefabPath' parameter is required for open_prefab_stage.");
1286+
return new ErrorResponse("Either 'prefabPath' or 'path' parameter is required for open_prefab_stage.");
12871287
}
12881288

12891289
string sanitizedPath = AssetPathUtility.SanitizeAssetPath(requestedPath);

Server/src/services/resources/prefab.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ async def get_prefab_api_docs(_ctx: Context) -> MCPResponse:
8080
}
8181
},
8282
"related_tools": {
83-
"manage_editor": "Open/save/close prefab stages in the Unity Editor UI",
84-
"manage_prefabs": "Headless prefab inspection and modification without opening prefab stages",
83+
"manage_editor": "Editor controls (play/pause/stop, active tool, tags/layers, package deploy/restore)",
84+
"manage_prefabs": "Prefab stage lifecycle (open/save/close) and headless prefab inspection/modification",
8585
"manage_asset": "Search for prefab assets, get asset info",
8686
"manage_gameobject": "Modify GameObjects in open prefab stage",
8787
"manage_components": "Add/remove/modify components on prefab GameObjects"

0 commit comments

Comments
 (0)