modx_list_media_source_files
Lists files and folders within a MODX media source so you can inspect directory contents and locate assets by source ID, name, or path.
Instructions
List files and folders inside a media source.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "modx_list_media_source_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| path | No |