Check freshness
check_freshnessConcepts that need attention: stale (past stale_after), draft, unverified, and deprecated, across every tree or some.
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": "check_freshness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trees | No | The trees' slugs, as list_trees gives them (not their names). Only these trees; omit for every tree. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | When staleness was judged. | |
| draft | Yes | Concepts whose status is `draft`. | |
| stale | Yes | Concepts past their `stale_after` date; each also gives it, as `staleAfter`. | |
| concepts | Yes | How many concepts were checked. | |
| deprecated | Yes | Concepts whose status is `deprecated`. | |
| unverified | Yes | Concepts with no `verified` entry. | |
| unreadTrees | Yes | The slugs of trees that couldn't be read, so their concepts are missing. | |
| unindexedTrees | Yes | Of unreadTrees, the slugs of those not indexed yet, whose concepts are missing: try again in a moment. |