emacs_buffer_create
Create a new Emacs buffer with a specified name, optional major mode, and initial content. Ideal for programmatically setting up editing environments or org-mode workflows via emacsclient.
Instructions
Create a new 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": {
"name": "<name>"
},
"name": "emacs_buffer_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Major mode for the buffer (e.g., org-mode, python-mode) | |
| name | Yes | Name for the new buffer | |
| content | No | Initial content for the buffer |