pubsub_peek
Inspect a Pub/Sub subscription's backlog in delivery order without pulling, leasing, or acking messages. Returns each message's state, attempts, attributes, and data preview.
Instructions
Peek at a subscription's backlog in delivery order without pulling, leasing or acking anything: each message's state, attempts, attributes and data.
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": {
"subscription": "<subscription>"
},
"name": "pubsub_peek"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | Return each message's whole data instead of a 256-character preview | |
| limit | No | At most this many; default 20 | |
| state | No | Only messages in this state; default every state | |
| cursor | No | nextCursor of a previous peek | |
| subscription | Yes | Subscription id or full name |