hosts_bulk_update
Update multiple hosts in one request by providing a UUID list and shared field values to apply to every selected host.
Instructions
Update many hosts at once: the given fields (same as hosts_update) are applied to every host in uuids
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": {
"uuids": "<uuids>"
},
"name": "hosts_bulk_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sni | No | ||
| alpn | No | ||
| host | No | ||
| path | No | ||
| port | No | ||
| tags | No | ||
| nodes | No | ||
| uuids | Yes | ||
| mapper | No | ||
| remark | No | ||
| address | No | ||
| inbound | No | ||
| isHidden | No | ||
| finalMask | No | ||
| muxParams | No | ||
| isDisabled | No | ||
| fingerprint | No | ||
| shuffleHost | No | ||
| keepSniBlank | No | ||
| mihomoX25519 | No | ||
| vlessRouteId | No | ||
| securityLayer | No | ||
| sockoptParams | No | ||
| internalSquads | No | ||
| mihomoIpVersion | No | ||
| xhttpExtraParams | No | ||
| serverDescription | No | ||
| pinnedPeerCertSha256 | No | ||
| verifyPeerCertByName | No | ||
| xrayJsonTemplateUuid | No | ||
| overrideSniFromAddress | No | ||
| excludeFromSubscriptionTypes | No | Optional. Subscription types from which the host will be excluded from. |