list_changes
List a tree’s changes. The changes people have asked for or proposed to a tree in OKForest, newest first: each one’s title, where it is (requested, drafting, in review, or done), who asked and when, the files it touches, and its page. Everyone who reads the tree sees them, so check here before asking for something already asked. get_change shows one in full. Read-only.
Parameters
Section titled “Parameters”| Parameter | Type | Required | Description |
|---|---|---|---|
tree |
string | No | The tree’s slug, as list_trees gives it (not its name). Required unless the Forest has one tree. |
states |
list of requested | drafting | in-review | applied | declined | withdrawn |
No | Only changes in these states; omit for all of them. |
Returns
Section titled “Returns”One JSON object (see All tools):
| Field | Type | Always | Description |
|---|---|---|---|
tree |
object | Yes | The tree. |
tree.slug |
string | Yes | |
tree.url |
string | Yes | |
changes |
list of Change summary | Yes | Its changes, newest first. |
Example
Section titled “Example”Asked “Has anyone asked for changes to the company tree?”, an assistant might call list_changes with:
{ "tree": "company", "states": [ "requested", "drafting", "in-review" ]}On OKForest’s test Forest (Acme’s made-up company knowledge), it returns:
{ "tree": { "slug": "company", "url": "https://app.okforest.ai/@/3f2b8c1e-9a4d-4c7b-8e2f-6d1a0b5c9e7f/company/" }, "changes": [ { "id": "6f1e2d3c-4b5a-4c6d-8e7f-0a1b2c3d4e5f", "title": "Say Acme Corp buys loyalty too", "state": "requested", "by": "Mia Chen", "asked": "2026-09-28T09:00:00.000Z", "updated": "2026-09-28T09:00:00.000Z", "about": "customers/acme-corp.md", "paths": [ "customers/acme-corp.md" ], "url": "https://app.okforest.ai/@/3f2b8c1e-9a4d-4c7b-8e2f-6d1a0b5c9e7f/company/-/changes/6f1e2d3c-4b5a-4c6d-8e7f-0a1b2c3d4e5f" } ]}