get_file_info
Retrieve metadata about a file or directory including size, modification time, and type.
Instructions
Get metadata about a file or directory (size, modification time, type).
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": "get_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File or directory path | |
| workspace_root | No | Workspace root directory (optional) |