Ping
pingConnect to a peer if needed, measure round-trip time, and identify whether the path is direct, LAN, or relayed.
Instructions
Connect to a peer if needed and measure the round trip; says whether the path is direct, LAN or relayed.
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": {
"peer": "<peer>"
},
"name": "ping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | The peer's 9-digit rockd ID (from `devices` / `status`), or IP:port to dial directly |