register-service
Register a service with Consul to enable service discovery and health monitoring. Provide name, port, address, and optional tags.
Instructions
Register a service with Consul
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "register-service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ID of the service (defaults to name if not provided) | |
| name | No | Name of the service to register | |
| port | No | Port the service is running on | |
| tags | No | Tags to associate with the service | |
| address | No | Address the service is running on |