Attach a relay contact's emails to a client
attach_relay_contactSays who a marketplace relay address really is: attaches every email the relay contact brought to the real client's conversation and moves the relay address onto that client, as the relay thread's Link to a contact does. relayClientId is the relay contact, clientId the real client (read clients). Writes a routing correction to the activity log. Pass the same idempotency_key when retrying; a repeat 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": {
"relayClientId": "<relayClientId>",
"clientId": "<clientId>",
"idempotency_key": "<idempotency_key>"
},
"name": "attach_relay_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientId | Yes | ||
| relayClientId | Yes | ||
| idempotency_key | Yes | Your id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation. |