get_file_metadata
Retrieve metadata for a repository file without loading its full contents, enabling codebase inspection and context generation without file reads.
Instructions
Return metadata for one repository file without reading its full contents.
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": {
"workspace": "<workspace>",
"relative_path": "<relative_path>"
},
"name": "get_file_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | ||
| relative_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| suffix | Yes | ||
| workspace | Yes | ||
| size_bytes | Yes | ||
| is_directory | Yes | ||
| relative_path | Yes |