get_file_info
Retrieve metadata for any file or directory by providing its absolute path. Useful for checking file type, size, and other attributes without opening it.
Instructions
Get metadata for a file or directory.
Args: file_path: Absolute path to the target.
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": {
"file_path": "<file_path>"
},
"name": "get_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |