emacs_buffer_read
Retrieve the full contents of any named Emacs buffer directly into Claude Code. Specify the buffer name to access its current text.
Instructions
Read the contents of an Emacs 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_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buffer | Yes | Buffer name (e.g., 'main.ts' or '*scratch*') |