hedera_get_topic_messages
Retrieve recent messages from a Hedera Consensus Service topic, decoding base64 payloads via the Mirror Node.
Instructions
Read recent messages from an HCS topic via the Mirror Node (decodes base64 payloads).
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": {
"topicId": "<topicId>"
},
"name": "hedera_get_topic_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max messages (default 25) | |
| topicId | Yes |