Validate the snapshot
snapshot_validateRe-reads the repository and reports whether the on-disk snapshot still matches it, so you can confirm earlier context is current before use or after configuration changes.
Instructions
Re-read the repository and report whether the snapshot on disk still matches it. Use it before trusting context that came from an earlier session, or after changing the config.
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_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only | No | Globs to include: replaces the config allow-list for this run. | |
| root | No | Repository root. Defaults to the directory this server was started in. | |
| sarif | No | Also write reports/audit.sarif beside reports/audit.md, for CI code scanning. | |
| ignore | No | Globs to exclude, added to the config deny-list for this run. | |
| outDir | No | Snapshot directory, relative to the root, and it must resolve inside the served repository. Defaults to the project configuration's outDir. | |
| staged | No | Only files staged in the git index. | |
| skeleton | No | Replace every function body with `{ /* ... */ }`, keeping signatures, imports and exports. Applies to TypeScript, JavaScript and JSX. | |
| changedSince | No | Only files changed since this git ref, for example "main" or "HEAD~3". | |
| maxPartTokens | No | Token ceiling per part, for example 32000 or "32k". Narrower than maxPartBytes; it converts at four bytes per token. | |
| withDependents | No | With staged or changedSince, also include the files that import the changed ones (one hop). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| current | No | ||
| manifestPresent | No |