modx_read_media_source_file
Read a file from a MODX media source by path, with optional source ID or name, to retrieve its contents for inspection or processing.
Instructions
Read a file inside a media source.
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": {
"path": "<path>"
},
"name": "modx_read_media_source_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| path | Yes |