snapshot_files
Computes SHA-256 hashes and file sizes for regular workspace files, adding tamper-evident records to evidence bundles while rejecting sensitive files and symlinks.
Instructions
Computes SHA-256 hashes and file sizes for regular files strictly inside the workspace. Rejects sensitive files and symbolic links.
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": {
"bundleId": "<bundleId>",
"paths": "<paths>"
},
"name": "snapshot_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | List of file paths relative to workspace root. | |
| bundleId | Yes | The unique identifier of the evidence bundle. | |
| workspaceName | No | Optional registered workspace/package name (defaults to primary root). | |
| workspacePath | No | Optional workspace path hint. |