Project Snapshot
project.snapshotRetrieve local project context: git state, language, package manager, and file tree. Use this before editing a project.
Instructions
Get local project context: git state, language, package manager, and a bounded file tree. Use this before editing a project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the project directory | |
| maxDepth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| branch | Yes | ||
| isGitRepo | Yes | ||
| headCommit | No | ||
| isDirty | Yes | ||
| entries | Yes | ||
| language | No | ||
| packageManager | No | ||
| fileTree | Yes | ||
| totalFiles | Yes | ||
| totalLines | Yes |