concept_batch
Write or patch multiple wiki concepts in a single atomic commit, so either all changes apply or the knowledge base stays untouched.
Instructions
All-or-nothing write/patch of distinct concepts: one commit and log entry; a failure leaves the KB untouched. At most 50 operations and 512 KiB of decoded content per call (a patch counts its edits). Each operation is 'write' (frontmatter, body, if_match optional = create-only) or 'patch' (if_match required; the concept_patch fields). A creating 'write' may set index_entry to add a curated index entry. Not covered: delete, move, expand, assets, other index edits. Returns id, content_hash and findings per operation.
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": {
"operations": "<operations>"
},
"name": "concept_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Why (commit trailer) | |
| operations | Yes | Distinct concept IDs, applied atomically. |