nacos_deregister_instance
Deregister a specific microservice instance from Nacos by service name, IP, and port to remove it from service discovery and stop traffic routing to that node.
Instructions
从微服务中手动注销下线指定的实例节点
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": {
"serviceName": "<serviceName>",
"ip": "<ip>",
"port": "<port>"
},
"name": "nacos_deregister_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | 待注销实例的 IP 地址 | |
| port | Yes | 待注销实例的端口号 | |
| ephemeral | No | 实例是否为临时节点(持久化实例注销传 false 或留空) | |
| groupName | No | 微服务分组,默认 DEFAULT_GROUP | |
| clusterName | No | 集群名称,默认 DEFAULT | |
| namespaceId | No | 命名空间 Tenant ID,留空或 public 为公共空间 | |
| serviceName | Yes | 微服务名称 (Service Name) |