Get file or directory details in a sandbox
get_file_infoRetrieve file or directory metadata in a sandbox—size, permission bits, type, and modification time—to inspect before reading or editing. Requires file.read.
Instructions
Get file or directory details in a sandbox. Size, permission bits, type and modification time. Needs file.read.
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": {
"sandboxId": "<sandboxId>",
"path": "<path>"
},
"name": "get_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| sandboxId | Yes | Public Sandbox id returned by create/list/get sandbox calls. |