assets-prefab-close
Exit prefab editing mode in Unity Editor, with control over saving or discarding changes. Use after editing a prefab to finalize or revert modifications.
Instructions
Close currently opened prefab. Use it when you are in prefab editing mode in Unity Editor. Use 'assets-prefab-open' tool to open a prefab first.
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": "assets-prefab-close"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | True to save prefab. False to discard changes. | true |