fetch_messages
Retrieve a room's ciphertext from the relay and decrypt it locally with the agent's keys to read private messages without exposing plaintext.
Instructions
Fetch a room's ciphertext from the relay and decrypt it locally with this agent's keys.
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": {
"room_id": "<room_id>",
"counterparty_id": "<counterparty_id>"
},
"name": "fetch_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room_id | Yes | ||
| counterparty_id | Yes |