asset_create
Create new assets in Unity projects including Materials, Scripts, Shaders, ScriptableObjects, AnimationClips, and AnimatorControllers. Specify asset type, name, and destination folder to generate project files.
Instructions
Create a new asset in the project. Supported types: Material, Script, Shader, ScriptableObject, AnimationClip, AnimatorController, and more.
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": {
"assetType": "<assetType>",
"name": "<name>"
},
"name": "asset_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetType | Yes | Type of asset: Material, Script, Shader, ScriptableObject, AnimationClip, AnimatorController, etc. | |
| name | Yes | Name of the new asset | |
| template | No | Template or shader name (e.g. 'Standard' for materials) | |
| destination | No | Folder path (default: 'Assets'). E.g. Assets/Materials |