ports
Inspect declared and detected service listeners; filter by runtime, service, or tag without changing owners.
Instructions
Inspect declared and detected service ports without changing their owners.
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": "ports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runtime | No | Project runtime to address, by name or id from runtimes. Omit to use the project this MCP server was started in. | |
| selectors | No | Exact service names or case-insensitive tags. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Tool-specific payload; absent on failure. | |
| error | No | Causal failure, absent on success. | |
| session | No | The runtime that served this call; absent for global tools and for failures that resolved no runtime. | |
| generation | No | Configuration generation the answer was read at; absent when no runtime served the call. | |
| schema_version | Yes | Envelope contract version. |