get_block_info
Retrieve details of any Stacks block using its hash or height. Specify the network to query mainnet, testnet, or mocknet.
Instructions
Get information about a specific block
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": {
"blockId": "<blockId>"
},
"name": "get_block_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockId | Yes | Block hash or height to look up | |
| network | No | Network to query | testnet |