Check network status
check_network_statusVerify peer health by checking ledger height, last block, and response latency before making calls to confirm the Fabric peer is reachable.
Instructions
Check peer health: ledger height, last block, response latency. Use before a series of calls to confirm the peer is reachable.
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": {
"channel": "<channel>"
},
"name": "check_network_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Fabric channel name | |
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | Yes | ||
| status | Yes | ||
| lastBlock | Yes | ||
| latencyMs | Yes | ||
| currentBlockHash | No |