update_gateway_server
Save a new revision of a gateway server (name, URL or tunnel, and the whole scope list again) and activate it unless activate is false. Activating retires every scope the revision leaves out and drops its stored credentials; a retired scope name is refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The downstream server's Streamable HTTP endpoint. Give exactly one of url and tunnel_id. | |
| name | Yes | Display name. | |
| scopes | Yes | The server's scopes (named credentials), 1 to 20, in the order agents see them. The whole list again on every revision: a scope left out is retired when the revision is activated and its stored credentials are dropped. | |
| activate | No | Activate the new revision right away so the gateway serves it from its next configuration poll. Defaults to true. | |
| tunnel_id | No | The id of the tunnel the downstream server is reached through (from list_gateway_tunnels), for a server inside your own network. Give exactly one of url and tunnel_id. | |
| server_slug | Yes | The server's slug: lowercase letters, digits and dashes. Agents see its tools as <slug>__<tool>. A new slug registers the server and is taken for good, archived servers included. |