keepfold_patch
Edits Keepfold notes: append content under headings, set whitelisted fields, tick checklist items, revise or retire lines, and set page topics.
Instructions
Edit a note (any, including me/): append under a heading, set a whitelisted field, or tick a checklist item in a section. me/personality, me/preferences, me/profile, me/goals, me/setup, me/voice (one ## section each, plus ## Everyone): user_confirmed=true for the user's own words; without it your inference is saved now as a guess, served (ask); a near-copy of a live line is not added twice, and one that clashes with a line the user gave is not saved (ask them). me/portrait, me/core and me/setup without it wait in inbox.md. me/teaching-contract: a rule always waits for the user's Approve in the Keepfold app, even with user_confirmed=true. supersedes: up to 3 ^c-… ids of me/ lines the new line replaces; Keepfold retires them. op=set_topics (resource or note): text = 0-4 topic hub ids, comma-separated, replacing the page's topics; target is ignored.
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": {
"id": "<id>",
"op": "<op>"
},
"name": "keepfold_patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| op | Yes | ||
| key | No | ||
| text | No | ||
| until | No | ||
| target | No | ||
| supersedes | No | ||
| user_confirmed | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||