save_unity_scene
Save an open Unity scene to disk without a dialog. Defaults to the active scene, or targets another open scene or new Assets path, with optional overwrite of an existing asset.
Instructions
Save an open Unity scene without opening a dialog. Defaults to the active scene. Use scenePath to select another open scene or saveAsPath for an existing Assets/... folder. Existing scene assets are not replaced unless overwrite=true.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_unity_scene"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| overwrite | No | Allow saveAsPath to replace a different existing scene asset | |
| scenePath | No | Optional open Assets/.../*.unity scene; defaults to the active scene | |
| saveAsPath | No | Optional new Assets/.../*.unity path in an existing folder |