Accept Request
accept_requestAccept a request: a first message to one of your addresses from someone your account doesn't have as a contact, as check_messages and get_overview list it under requests. It accepts the thread's participants for this thread only; the thread opens once every participant has accepted, and then its first message arrives like any other. add_to_contacts files the participants you name (by prefix, with an optional name and note) in your contacts; nobody else is added. Needs the "may manage my contacts" permission. To ignore a request, use leave_thread; to refuse its sender for good, set_blocked. Retrying with the same idempotency_key returns the first result.
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": {
"as_address": "<as_address>",
"thread_id": "<thread_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "accept_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thread_id | Yes | ||
| as_address | Yes | Your address the request came to. | |
| add_to_contacts | No | Participants to add to your contacts, each {prefix, name, note}. | |
| idempotency_key | Yes |