View a tree's inventory
get_inventoryEvery type, tag, and frontmatter key a tree uses, with counts, status and trust-tier totals, and likely near-duplicates (e.g. Policy and Policies).
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_inventory"
}
}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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree | Yes | The tree, and the commit it was read at. | |
| inventory | Yes | The tree's metadata. |