hcs_query
Query Hedera Consensus Service topics using natural language questions to retrieve AI-ranked relevant messages with plain English summaries.
Instructions
Query an HCS topic with a natural language question. Returns AI-ranked relevant messages and a plain English summary. Costs 0.05 HBAR.
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": {
"api_key": "<api_key>",
"query": "<query>"
},
"name": "hcs_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | Yes | Your HederaIntel API key | |
| query | Yes | Natural language question about the topic | |
| topic_id | No | Hedera topic ID (e.g. 0.0.8026796). Defaults to the HederaIntel platform topic. | |
| limit | No | Max messages to retrieve (default 50) |