list_plugin_files
List files within a WordPress plugin directory, with optional filter by file extension.
Instructions
List files in an extracted plugin
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": {
"slug": "<slug>"
},
"name": "list_plugin_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Plugin slug | |
| extension | No | Filter by file extension (e.g., ".php", ".js") |