asset_rename
Rename assets in Unity projects by specifying current path and new name to update file references and maintain project organization.
Instructions
Rename an asset.
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": {
"currentPath": "<currentPath>",
"newName": "<newName>"
},
"name": "asset_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currentPath | Yes | Current asset path (e.g. Assets/Materials/Old.mat) | |
| newName | Yes | New name for the asset (without extension) |