Snapshot status
snapshot_statusCheck whether a repository snapshot exists, when it was built, and what it covers by reading the manifest, so you can decide if a new snapshot is needed.
Instructions
Report whether a snapshot exists for this repository, when it was built, and what it covers. Reads the manifest rather than the repository, so it is cheap. Call it before deciding whether a snapshot needs to be generated.
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": "snapshot_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Repository root. Defaults to the directory this server was started in. | |
| outDir | No | Snapshot directory, relative to the root, and it must resolve inside the served repository. Defaults to the project configuration's outDir. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | ||
| outDir | No | ||
| present | No | ||
| partCount | No | ||
| fingerprint | No | ||
| generatedAt | No | ||
| skippedFiles | No | ||
| warningCount | No | ||
| includedFiles | No | ||
| generatorVersion | No | ||
| generatorVersionMatches | No |