fs_stat
Get file metadata within a project root. Securely stat paths while preventing escapes outside the allowed directory, with optional lease renewal.
Instructions
Stat a path under a registered project root (default demo). Read-only; lease_id optional (renews if provided). Does not follow escapes outside the root (openat2).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fs_stat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| project | No | demo | |
| lease_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||