List files on a device
pi_files_listList one directory on a remote SSH device relative to $HOME, returning entry path, name, type, link status, size, and modified time with folders first.
Instructions
List one directory on the remote device relative to $HOME, not recursive: path, name, isDir, isLink, size and mtime for each entry, folders first.
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": {
"device_id": "<device_id>"
},
"name": "pi_files_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path relative to the authenticated user's remote $HOME directory. | |
| device_id | Yes | IP address, hostname, MAC address, or device identifier of the target Raspberry Pi / SSH device. | |
| show_hidden | No | Include hidden files (starting with .). |