file_info
Retrieve file or directory metadata and compute SHA-256 hashes for regular files to verify integrity and inspect properties.
Instructions
Get file or directory metadata and an optional SHA-256 hash for regular files.
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": "file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path relative to the workspace root, or an allowed absolute path. | |
| include_hash | No | Calculate SHA-256 for regular files; defaults to true. |