mcp_set_gateway
Switch the active Gateway session to a specified URL, returning the new session context or an error when the Gateway is unreachable.
Instructions
Switch to another gateway by URL.
Args:
url: Gateway base URL, e.g. http://10.0.1.50:8088.
Returns: The new session context, or an error payload when the gateway is unreachable.
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": {
"url": "<url>"
},
"name": "mcp_set_gateway"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||