file_info
Get file or directory metadata including size, creation time, modification time, file type, and read/write access.
Instructions
Return metadata for a file or directory.
Includes size, creation time, modification time, file type, and whether the path is readable/writable.
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 to the file or directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||