Nostr relay test
relay_checkTest a public Nostr relay. mode "quick" (default, 200 Payloads = 0.02 EUR): DNS, TLS, WebSocket, NIP-11, publish/query, latency, stability. mode "conformance" (800 Payloads = 0.08 EUR): NIP-01, filters, event semantics, limits. Returns the JSON report inline (per check: pass, fail, warn, skip, info). A relay can be tested only a few times per hour.
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": "relay_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Test bundle. Default "quick". | |
| relay | No | Relay address, e.g. "wss://relay.example.com". | |
| job_id | No | Collect the result of an earlier relay_check job instead of starting a new one. |