Evaluate Emacs Lisp
emacs_evalEvaluate one Emacs Lisp form in a running local Emacs server to test expressions and invoke built-in, package, or user-defined functions from the live runtime.
Instructions
Evaluate exactly one Emacs Lisp form in an already-running trusted local Emacs server.
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": {
"expression": "<expression>"
},
"name": "emacs_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes | One Emacs Lisp form to evaluate in the live Emacs runtime. | |
| timeout_ms | No | ||
| max_output_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||