View history
get_historyWho changed a tree or one of its concepts, when, and why (changes already in the repository; those still waiting for an editor are list_changes'): its commits, newest first, read from Git (changes made in OKForest and directly in Git alike), a concept's from before it was renamed or moved too. With commit, what that commit changed instead: each file's frontmatter field by field, and its lines. With concept and blame, who last changed each of the concept's frontmatter fields and lines, and why (e.g. who set its status).
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. | |
| blame | No | With `concept`: the commit that last changed each of its frontmatter fields and lines, rather than its commits. | |
| 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. | |
| blame | No | Who last changed the concept's fields and lines, when `blame` was given. | |
| commit | No | What the commit changed in the tree, when `commit` was given. | |
| commits | No | The commits, newest first; absent when `commit` was given. |