Unity-MCP assets-create-folder
Creates a new folder in the specified parent folder. The parent folder string must start with the 'Assets' folder, and all folders within the parent folder string must already exist. For example, when specifying 'Assets/ParentFolder1/ParentFolder2/', the new folder will be created in 'ParentFolder2' only if ParentFolder1 and ParentFolder2 already exist. Use it to organize scripts and assets in the project. Does AssetDatabase.Refresh() at the end. Returns the GUID of the newly created folder, if successful.
install
source · Clone the upstream repo
git clone https://github.com/IvanMurzak/Unity-MCP
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/IvanMurzak/Unity-MCP "$T" && mkdir -p ~/.claude/skills && cp -r "$T/Unity-MCP-Plugin/.claude/skills/assets-create-folder" ~/.claude/skills/ivanmurzak-unity-mcp-assets-create-folder && rm -rf "$T"
manifest:
Unity-MCP-Plugin/.claude/skills/assets-create-folder/SKILL.mdsource content
Assets / Create Folder
How to Call
unity-mcp-cli run-tool assets-create-folder --input '{ "inputs": "string_value" }'
For complex input (multi-line strings, code), save the JSON to a file and use:
unity-mcp-cli run-tool assets-create-folder --input-file args.jsonOr pipe via stdin (recommended):
unity-mcp-cli run-tool assets-create-folder --input-file - <<'EOF' {"param": "value"} EOF
Troubleshooting
If
unity-mcp-cli is not found, either install it globally (npm install -g unity-mcp-cli) or use npx unity-mcp-cli instead.
Read the /unity-initial-setup skill for detailed installation instructions.
Input
| Name | Type | Required | Description |
|---|---|---|---|
| | Yes | The paths for the folders to create. |
Input JSON Schema
{ "type": "object", "properties": { "inputs": { "$ref": "#/$defs/com.IvanMurzak.Unity.MCP.Editor.API.Tool_Assets+CreateFolderInput[]" } }, "$defs": { "com.IvanMurzak.Unity.MCP.Editor.API.Tool_Assets+CreateFolderInput": { "type": "object", "properties": { "ParentFolderPath": { "type": "string", "description": "The parent folder path where the new folder will be created." }, "NewFolderName": { "type": "string", "description": "The name of the new folder to create." } } }, "com.IvanMurzak.Unity.MCP.Editor.API.Tool_Assets+CreateFolderInput[]": { "type": "array", "items": { "$ref": "#/$defs/com.IvanMurzak.Unity.MCP.Editor.API.Tool_Assets+CreateFolderInput" } } }, "required": [ "inputs" ] }
Output
Output JSON Schema
{ "type": "object", "properties": { "result": { "$ref": "#/$defs/com.IvanMurzak.Unity.MCP.Editor.API.Tool_Assets+CreateFolderResponse" } }, "$defs": { "System.Collections.Generic.List<System.String>": { "type": "array", "items": { "type": "string" } }, "com.IvanMurzak.Unity.MCP.Editor.API.Tool_Assets+CreateFolderResponse": { "type": "object", "properties": { "CreatedFolderGuids": { "$ref": "#/$defs/System.Collections.Generic.List<System.String>", "description": "List of GUIDs of created folders." }, "Errors": { "$ref": "#/$defs/System.Collections.Generic.List<System.String>", "description": "List of errors encountered during folder creation." } } } }, "required": [ "result" ] }