modx_create_context
Creates a MODX context with a unique key and optional name, rank, and description to organize content or settings for different environments or audiences.
Instructions
Create a context. 'key' is the unique identifier (e.g. 'mobile').
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_create_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| name | No | ||
| rank | No | ||
| description | No |