Set Blocked
set_blockedBlock (blocked: true) or unblock (blocked: false) another Account. address is its prefix or one of its addresses; only the prefix part is used, and the address isn't looked up, so the answer is the same whether it exists. A blocked Account can't start threads with, or reply to, any of the caller's addresses; existing threads stay open. The block is the blocked status of its contacts entry: unblocking returns a former contact to a contact and removes an entry the block created. Any app can block; unblocking needs the "may manage my contacts" permission. 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": {
"address": "<address>",
"blocked": "<blocked>",
"idempotency_key": "<idempotency_key>"
},
"name": "set_blocked"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The prefix, or an address, of the Account to block or unblock. | |
| blocked | Yes | ||
| as_address | No | One of the caller's addresses; the block applies to the whole Account. | |
| idempotency_key | Yes |