fetch_latest
Fetch recent messages from a Kafka topic to inspect current data.
Instructions
Fetch the most recent messages from a topic.
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": {
"topic": "<topic>"
},
"name": "fetch_latest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | Kafka topic name. | |
| max_results | No | ||
| partition_id | No | Partition to read from, or -1 for all partitions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |