List a directory on a QNX target
file_listLists directory contents on a QNX target read-only, including names, types, sizes, modes, mtimes, and symlink targets, with max-entry limits and truncation status.
Instructions
List one directory on the target, read-only: name, type (file, dir, symlink, char, block, fifo, socket, other), size, mode, mtime and, for symlinks, where they point (links are described, never followed; the directory itself may be reached through a link, real_path says where it is). Entries are sorted by name; at most max_entries are returned, total_entries counts all of them and truncated says whether some were left out. path must be absolute and normalised (no '.', '..', '//' or trailing '/'); '/' lists the root.
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": {
"target": "<target>",
"path": "<path>"
},
"name": "file_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute directory on the target, e.g. /data/var/dumper or /tmp | |
| target | Yes | Target name such as 'tb' (lowercase letters, digits, '-', '_'); must be inside the server allowlist | |
| max_entries | No | Maximum entries returned (the first ones by name) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||