List remote files
pz_list_filesExplore your gameserver filesystem by listing directories or using glob patterns to recursively find files like saves, logs, and mods.
Instructions
List a directory on the gameserver, or search it recursively when a glob pattern is given (e.g. '*.lua'). Call this to explore the server filesystem — saves, logs, mods — beyond the known config files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Optional recursive glob pattern, e.g. '*.ini'. | |
| directory | Yes | Absolute remote directory to list. | |
| service_id | No | Nitrado service id. Defaults to NITRADO_SERVICE_ID when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |