search_block
Find one block from a height or a hash, anywhere from the genesis block (height 0) to the tip. Returns the same detail as get_block plus is_canonical and, for a height, any orphan blocks competing at that height.
Use this when the user gives a height, or when unsure whether a value is a height or a hash. For a range of consecutive blocks use chain_fork_window.
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": {
"query": "<query>"
},
"name": "search_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Block height as a number, or a 64-character hex block hash. Example: 3000000 |