toolsworkspace snapshot

Workspace Snapshot

workspace_snapshot

Create a bounded local workspace manifest with Git state, selected file hashes, manifests, and environment facts. Can compare to or explicitly write a local JSON snapshot.

How to use workspace_snapshot

Provide only the required inputs below. Start with the smallest scope that answers the task, then review the risk properties before an agent executes the call.

Risk and execution properties

Read only: no

Destructive: no

Idempotent: no

Open world: no — operates locally or through configured services

Inputs

pathstring
max_filesinteger

Default: 500

compare_tostring
output_pathstring
confirm_writeboolean

Default: false

Example input

{
  "path": "<string>",
  "max_files": 500,
  "compare_to": "<string>",
  "output_path": "<string>",
  "confirm_write": false
}

Browse or search the full 74-tool reference to choose the smallest suitable capability.

Browse all tools →