Propose a change
propose_changeProposes edits to a tree, written out, for its editors to review and apply in OKForest (to ask for a change in plain words instead, use request_change): new pages, edits to pages (front-matter fields set or removed, and text in the body replaced), and pages moved or renamed, deprecated, or deleted. OKForest updates the links to a new, moved, or deleted page, and its entry in its folder's index.md, for you: don't add or remove those entries yourself; edit an index.md only to reorder or reword it. A page's files (those only it links to, in its folder or below) move or go with it. The edits are checked first: if a page would have errors, nothing is saved, and the errors come back to fix. Keep a change small, one purpose; each page can be in one edit of it. Read a page with get_concept before editing it, and start a new page from its type's template when list_types gives one. Follow the tree's conventions for the folders it writes in (get_conventions), and name them in conventions: when its edits are under conventions you haven't named, nothing is saved, and they come back to read. An editor's own proposal is in review at once; anyone else's is a request, which the editors are emailed about. To fix a change of yours that's still open, propose again with change: { id, updated }, as list_changes, get_change, or this tool's result gives them: these edits replace its edits whole, so send every edit it should make, and the editors see it revised at the same url; withdraw_change takes one back. Returns the change, its warnings, and its url, to give the person.
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": {
"title": "<title>",
"edits": "<edits>"
},
"name": "propose_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | For the tree's editors, in a sentence or two: what it changes and why, or what a revision fixed. It becomes the change's comment. | |
| tree | No | The tree's slug, as list_trees gives it (not its name). Required unless the Forest has one tree. | |
| edits | Yes | The edits, in order. | |
| title | Yes | What it does, in a few words: it becomes the commit's first line. | |
| change | No | A change you made, to revise rather than make a new one, as propose_change, list_changes, or get_change gave it: while it's a request no editor has taken up yet, or, if you edit the tree, your own in review. | |
| conventions | No | The tree's `AGENTS.md` files you followed, as get_conventions names them (`file`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | Who asked for it, by name. | |
| id | Yes | The change's ID: pass it to get_change. | |
| url | Yes | Its page in OKForest, where editors review and apply it. | |
| mine | Yes | Whether the person asking made it: only they revise it (propose_change with `change`) or withdraw it (withdraw_change). | |
| about | No | The page it was asked about, when it was asked from one. | |
| asked | Yes | When it was asked for (ISO 8601). | |
| paths | Yes | The files it creates, edits, moves, or deletes. | |
| state | Yes | Where it is: `requested` (asked for, waiting for an editor), `drafting` (accepted, an editor writing its edits), `in-review` (edits written, waiting for an editor to apply them), or done: `applied` (committed), `declined`, or `withdrawn` by whoever asked. | |
| title | Yes | What it does, in a few words: its commit's first line. | |
| revised | Yes | Whether it revised the change you named, rather than making a new one. | |
| updated | Yes | When it last changed (ISO 8601). | |
| findings | Yes | What the checks found: warnings to consider. |