Ask for a change
request_changeAsks a tree's editors, in plain words, to change it: what should change, and why. It becomes a change in OKForest, which the editors are emailed about, accept, write, and apply; nothing reaches the tree until one applies it. Check list_changes first, so nobody asks twice. An editor's own request starts as drafting, ready for their edits. Returns the change 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>",
"instruction": "<instruction>"
},
"name": "request_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree | No | The tree's slug, as list_trees gives it (not its name). Required unless the Forest has one tree, or `about` names it. | |
| about | No | The concept it's about, if one: `company:customers/acme-corp`. | |
| title | Yes | What should change, in a few words: it becomes the commit's first line. | |
| instruction | Yes | The details, in the person's words: what, where, and why. |
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. | |
| 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. | |
| updated | Yes | When it last changed (ISO 8601). |