get_mgx_env
Fetch the mgxenv.json configuration for a specific MGX chat version by supplying chat ID and version. Returns the environment config as JSON, with optional env and auth token parameters.
Instructions
Fetch the mgxenv.json configuration for a specific MGX chat version. Returns environment config as JSON.
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": {
"chat_id": "<chat_id>",
"version": "<version>"
},
"name": "get_mgx_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment: prod, alpha, pre, us-test, us-test-2 | prod |
| token | No | Auth token (overrides MGX_TOKEN env var) | |
| chat_id | Yes | The chat/conversation ID | |
| version | Yes | Version number for the mgxenv file |