modx_get_context
Retrieves a MODX context by its key so you can inspect context-specific configuration before managing resources or settings. Pass the context key to fetch its details.
Instructions
Get a context by key.
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": {
"key": "<key>"
},
"name": "modx_get_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes |