reject
Removes a single incoming envelope the client will never process and notifies the sender with a reason code; call manually for owner-decided removals like unknown senders.
Instructions
Removes from the server ONE incoming envelope that this client will never process, and notifies the sender with a reason code (§6.12). The reason must be one of: malformed_envelope, invalid_signature, unknown_alg, prekey_not_found, degenerate_dh, decryption_failed, malformed_plaintext, unknown_sender, wrong_recipient; nothing from the message content goes into the reason. check_inbox does this by itself for unrecoverable failures — call it manually only for envelopes the owner decided to remove (for example, from an unknown sender).
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": {
"msg_id": "<msg_id>",
"reason": "<reason>"
},
"name": "reject"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| msg_id | Yes | ||
| reason | Yes |