modx_clear_cache
Refresh the MODX cache to apply changes, optionally clearing only specified partitions for targeted updates.
Instructions
Refresh the MODX cache. Pass partitions (e.g. ['resource','context_settings']) to refresh only those; omit for a full refresh.
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_clear_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partitions | No |