Suggest edits to the Eigma wiki
eigma_suggest_editsUse this when the user asks to organize, verify, cite, add sources, merge, dedupe, move, rename, delete, restructure, refine, or add quizzes to pages that ALREADY exist in their Eigma wiki. This is the ONE tool for every edit to the existing wiki; new pages from the current conversation come from eigma_save_notes instead. It writes: this one call queues the changes into the user's Eigma review inbox, and nothing touches the wiki until the user accepts each change there. Call it ONCE per request and relay the receipt it returns.
Put every change from this request into ONE call with ONE ops array; each op is an object {kind, ...} where kind is move, merge, delete, rename, update_page, edit_quizzes, or add_page. Reference each page by its EXACT title + category_path (verbatim from eigma_browse_wiki or eigma_read_page); an id is valid only when it came from reading that page.
A verify, cite, or add-sources request is an update_page op whose body_md carries the corrected page with inline [^n] citations and a ## References section (each definition written as "[^N]: label" carrying the source's REAL link (a bare source name with no URL becomes a dead, unclickable reference)): draft it and send it here rather than answering in prose. If nothing needs changing, propose nothing.
A refine op MAY add a mermaid or svg diagram or ONE self-contained ```animation widget (inline CSS/JS, no external network) to a body_md; most pages need neither.
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": {
"ops": "<ops>"
},
"name": "eigma_suggest_edits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | The proposed changes as ONE reviewable DRAFT changeset. Never applied directly: each op waits in the user's Eigma inbox to be accepted or rejected, and is reversible. Put EVERY change from this request into this one array. | |
| intent | No | Short label for this change task, e.g. "tidy Deep Learning chapter". | |
| report | No | Optional SHORT memo note (what changed + what to revisit). Not shown at review. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | No | ||
| rows | No | ||
| intent | No | ||
| queued | No | ||
| report | No | ||
| nothing | No | ||
| op_count | No | ||
| chapter_notes | No | ||
| already_queued | No |