save_preset
Saves the active preset's edit buffer to a chosen or current slot, optionally renames it, and backs up the target slot's previous content first.
Instructions
Save the active preset's edit buffer into a slot (default: the current one), optionally renaming it. The previous content of the target slot is backed up to the data directory 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": "save_preset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Preset name (ASCII, max 20); default = current name | |
| preset | No | Target slot; default = active preset |