File Get Info
file_get_infoFetch full indexed metadata for a file by providing its native path or file:/// URL, validating that the path is within configured search roots.
Instructions
Fetch full indexed metadata for a single file by its native path
or file:///-style URL form, as previously returned by
file_search. path must fall within a configured or default
allowed search root.
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_get_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| name | Yes | ||
| path | Yes | ||
| size | Yes | ||
| snippet | No | ||
| extension | No | ||
| created_time | Yes | ||
| last_modified | Yes |