connect_metro
Establish a WebSocket connection to a Metro server on a specified port for debugging React Native applications. Use when you know the exact port number to connect.
Instructions
Connect to a Metro server on a specific port. Use this when you know the exact port, otherwise use scan_metro which auto-detects. Establishes the WebSocket connection needed for debugging tools.
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": "connect_metro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | Metro server port (default: 8081) |