fs_stat
Retrieve file or directory metadata such as type and size for a given path, letting AI agents inspect workspace entries before reading, writing, or editing files within the sandbox.
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": "fs_stat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |