Explain one path
snapshot_explainExplains how one repository path will be handled in the next snapshot: its layer, kind, language and part, or exact exclusion reason, answering why a file is missing.
Instructions
Explain how the next snapshot would treat one path: its layer, kind, language and part, or the exact reason it is excluded. Answers "why is this file missing".
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "snapshot_explain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only | No | Globs to include: replaces the config allow-list for this run. | |
| path | Yes | Path relative to the repository root. Directories are explained as a whole. | |
| 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 |
|---|---|---|---|
| path | No | ||
| reason | No | ||
| included | No |