modx_get_component_files
List files and folders inside an installed MODX component by name, optionally filtering by path or scope. Use it to inspect component structure and locate files before making changes.
Instructions
List files and folders inside an installed MODX component.
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": {
"name": "<name>"
},
"name": "modx_get_component_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | No | ||
| scope | No |