nacos_get_service
Retrieve metadata configuration, protect threshold, and cluster metadata for a specified microservice by service name, with optional namespace and group filters.
Instructions
查询指定微服务的元数据配置、保护阈值 (protectThreshold) 及集群元数据
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>"
},
"name": "nacos_get_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupName | No | 所属分组名称,默认 DEFAULT_GROUP | |
| namespaceId | No | 命名空间 Tenant ID,留空或 public 为公共空间 | |
| serviceName | Yes | 微服务名称 (Service Name) |