file_info
Retrieve metadata for a file or directory in the workspace to inspect size, type, and other details before reading or modifying it.
Instructions
Show metadata for a file or directory in the workspace
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": "<file>"
},
"name": "file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes |