list_server_files
List files in any SAMP server subdirectory to locate .pwn and .inc source files needed for scripting and plugin management.
Instructions
List files in a SAMP server subdirectory (gamemodes, plugins, include, etc.) Use this to find .pwn and .inc source files.
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": {
"subdir": "<subdir>"
},
"name": "list_server_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subdir | Yes | Subdirectory to list |