patch_memory_section
Update a specific Markdown section in a BoteX memory note without altering frontmatter, other sections, or the Timeline audit trail; optionally append content to preserve existing text.
Instructions
Surgically updates a Markdown section (e.g. '## Compiled Truth') in a memory note
without modifying frontmatter, other sections, or the Timeline audit trail.
Args:
memory_id: Target memory ID to patch.
section: Section heading to replace or create (default 'Compiled Truth').
new_content: New Markdown text for the section.
workspace_dir: Workspace root directory.
scope: Lookup scope ('local' or 'global').
append: Whether to append to existing section content instead of replacing.
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": {
"memory_id": "<memory_id>"
},
"name": "patch_memory_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | local | |
| append | No | ||
| section | No | Compiled Truth | |
| memory_id | Yes | ||
| new_content | No | ||
| workspace_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||