emacs_file_save_as
Save a chosen buffer to a new file path, so you can copy or move its content to a different destination without changing the original buffer.
Instructions
Save buffer to a new file path
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": {
"buffer": "<buffer>",
"path": "<path>"
},
"name": "emacs_file_save_as"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | New file path to save to | |
| buffer | Yes | Buffer name to save |