emacs_org_heading_add
Add a new heading to an Org document in an Emacs buffer, specifying level, title, tags, and TODO state, with optional content and insertion position.
Instructions
Add a new heading to an org document
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>",
"level": "<level>",
"title": "<title>"
},
"name": "emacs_org_heading_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags for the heading | |
| todo | No | TODO state (e.g., TODO, DONE) | |
| level | Yes | Heading level (1-6) | |
| title | Yes | Heading title | |
| buffer | Yes | Buffer name | |
| content | No | Content under the heading (optional) | |
| after_heading | No | Insert after this heading text (optional, appends to end if not specified) |