Update an Inbound server
update_serverUpdate settings on an existing public HTTPS webhook endpoint. Changes can affect which external requests are accepted and what HTTP response callers receive. Use get_server to inspect it first. Omitted settings are preserved; each supplied list replaces the existing list and [] clears it. Region and address cannot be changed here. Returns the full server object as in get_server, including settings and synced. Wait for get_server.synced=true (the region has acknowledged the current configuration) before relying on the changes.
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": {
"server_id": "<server_id>"
},
"name": "update_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cors | No | Enable CORS on the webhook endpoint. Default on create: false. | |
| name | No | Display name, not a unique identifier. Leading and trailing whitespace is trimmed; up to 128 characters after trimming. Default on create: Unnamed Server. Empty or whitespace-only names reset it to Unnamed Server. Use server UUIDs to distinguish equal names. | |
| notes | No | Server notes, up to 4096 characters. Default on create: empty. An empty string clears them. | |
| ip_list | No | IPv4 or IPv6 addresses and CIDR ranges for ip_mode. Default on create: empty. Supplying a list does not enable filtering while ip_mode is any. Replaces the existing list on update; [] clears it. | |
| ip_mode | No | IP filter mode: any disables filtering (default on create), allow accepts only ip_list matches, deny rejects ip_list matches. With an empty list, allow accepts none and deny blocks none. | |
| methods | No | Accepted HTTP methods: GET HEAD POST PUT DELETE CONNECT OPTIONS TRACE PATCH. Default on create: POST. An empty list accepts none. | |
| server_id | Yes | UUID of the Inbound server to update, from list_servers. Inspect current settings with get_server first. | |
| status_code | No | HTTP status for accepted requests. Allowed: 200-206, 400-417, 421, 422, 426, 500-505. Default on create: 202. With 204 or 205 response_body must be empty; when updating a nonempty body, clear it in the same call. | |
| content_types | No | Request media types for content_type_mode, without parameters. Default on create: empty. Supplying a list does not enable filtering while content_type_mode is any. Replaces the existing list on update; [] clears it. | |
| response_body | No | Response body, up to 4096 characters. Default on create: empty. An empty string clears it; required when switching to status_code 204 or 205 if the current body is nonempty. | |
| content_type_mode | No | Request Content-Type filter mode: any disables filtering (default on create), allow accepts only content_types matches, deny rejects matches. With an empty list, allow accepts none and deny blocks none. | |
| response_content_type | No | Content-Type for the configured response. Default on create: empty. An empty string clears it. |