Skip to content

Commit 9eae664

Browse files
committed
fix: parameter changed from scriptName to componentName to better match the developer workflow
1 parent 8d0edc8 commit 9eae664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server~/src/tools/createPrefabTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const toolDescription = 'Creates a prefab with optional MonoBehaviour script and
1010

1111
// Parameter schema for the tool
1212
const paramsSchema = z.object({
13-
scriptName: z.string().optional().describe('The name of the MonoBehaviour script class (optional)'),
13+
componentName: z.string().optional().describe('The name of the MonoBehaviour Component to add to the prefab (optional)'),
1414
prefabName: z.string().describe('The name of the prefab to create'),
1515
fieldValues: z.record(z.any()).optional().describe('Optional JSON object of serialized field values to apply to the prefab')
1616
});

0 commit comments

Comments
 (0)