check_port
Confirm a dev server is running and responding on a specified localhost port. Run this check before viewing the page to ensure it is up.
Instructions
Check whether a dev server is currently running and responding on a given localhost port. Run this before view_page to confirm the server is up.
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": {
"port": "<port>"
},
"name": "check_port"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | Port number to check |