flipper_stat
Identify whether a path on a Flipper Zero is a file or directory and retrieve its size.
Instructions
Get the type and size of a single file or directory.
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": "flipper_stat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| port | No | Serial port (e.g. COM7, /dev/ttyACM0). Omit when one Flipper is attached. |