get_block_height
Retrieve the current Bitcoin blockchain height. Specify an optional network override to query a different chain without changing server settings.
Instructions
Get the current chain tip height. Needs a backend.
Args: network: Override the server's network for this call.
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": "get_block_height"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |