read_document
Parse and retrieve document content from Bitcoin OP_RETURN transaction data to access on-chain stored information.
Instructions
Retrieve and parse document from transaction data.
Args:
data_hex: Hex-encoded document data (from OP_RETURN)
Returns:
Dictionary with parsed document content.
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": {
"data_hex": "<data_hex>"
},
"name": "read_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_hex | Yes |