resolve_url
Resolve a service name to its full URL for the current project slot. Pass project and slot to look up a service in another project.
Instructions
Full URL (e.g. http://localhost:23417) of one service in the current slot. Pass project and slot to look up another project; both are required together.
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": {
"service": "<service>"
},
"name": "resolve_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | directory to resolve the current project from; defaults to where the server was started | |
| slot | No | slot name; defaults to the current slot | |
| project | No | another project's name; requires slot | |
| service | Yes | service name from the manifest |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | empty for tcp services | |
| slot | Yes | ||
| proto | Yes | ||
| project | Yes | ||
| service | Yes |