View history
get_historyWho changed a tree or one of its concepts, when, and why: its commits, newest first, read from Git (changes made in OKForest and directly in Git alike). With commit, what that commit changed instead: each file's frontmatter field by field, and its lines.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Which page of commits, 20 to a page; the first by default. | |
| tree | No | The tree's slug, as list_trees gives it (not its name). Required unless the Forest has one tree, or `concept` names it. | |
| commit | No | A commit's full SHA, as this tool lists them: what that commit changed. | |
| concept | No | A concept ID, its tree first (`company:customers/acme-corp`): that concept's history, rather than the whole tree's. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| more | No | Whether there are older commits: ask for the next `page`. | |
| path | No | The concept's file, when `concept` was given. | |
| tree | Yes | The tree, and the commit it was read at: history ends there. | |
| commit | No | What the commit changed in the tree, when `commit` was given. | |
| commits | No | The commits, newest first; absent when `commit` was given. |