emacs_buffer_kill
Close a specified Emacs buffer by name, with an option to force-kill even when unsaved changes exist.
Instructions
Close/kill a buffer
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>"
},
"name": "emacs_buffer_kill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Force kill even if buffer has unsaved changes | |
| buffer | Yes | Buffer name to kill |