Get file info
get_file_infoReturns file or directory metadata including size, MIME type, line count, and symlink information for safe filesystem inspection by AI agents.
Instructions
Return metadata (size, type, MIME, line count, symlink info) for a file or directory.
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 |