detect-existing-service
Checks your infrastructure for existing services using name or port detection to prevent duplicate installations.
Instructions
Detect if a service is already installed in the infrastructure
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": "detect-existing-service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serviceName | Yes | Service to search for (e.g., ollama, docker, nginx) | |
| searchMethod | No | both | |
| port | No | Port number to check if searchMethod includes port |