Skip to content

request_change

Ask for a change. Asks 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.

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, or about names it.
title string Yes What should change, in a few words: it becomes the commit’s first line.
instruction string Yes The details, in the person’s words: what, where, and why.
about string No The concept it’s about, if one: company:customers/acme-corp.

One JSON object (see All tools):

Field Type Always Description
id string Yes The change’s ID: pass it to get_change.
title string Yes What it does, in a few words: its commit’s first line.
state requested | drafting | in-review | applied | declined | withdrawn 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.
by string Yes Who asked for it, by name.
asked string Yes When it was asked for (ISO 8601).
updated string Yes When it last changed (ISO 8601).
about string No The page it was asked about, when it was asked from one.
paths list of strings Yes The files it creates, edits, moves, or deletes.
url string Yes Its page in OKForest, where editors review and apply it.

Asked “Ask the editors to add when Acme Corp’s contract renews.”, an assistant might call request_change with:

Arguments
{
"about": "company:customers/acme-corp",
"title": "Add Acme Corp's renewal date",
"instruction": "Their contract renews on 1 March 2027, says their account manager."
}

On OKForest’s test Forest (Acme’s made-up company knowledge), it returns:

Result
{
"id": "2d8f1a6b-3c4e-4f5a-9b7c-8d9e0f1a2b3c",
"title": "Add Acme Corp's renewal date",
"state": "drafting",
"by": "Jane Doe",
"asked": "2026-10-01T00:00:00.000Z",
"updated": "2026-10-01T00:00:00.000Z",
"about": "customers/acme-corp.md",
"paths": [],
"url": "https://app.okforest.ai/@/3f2b8c1e-9a4d-4c7b-8e2f-6d1a0b5c9e7f/company/-/changes/2d8f1a6b-3c4e-4f5a-9b7c-8d9e0f1a2b3c"
}