Join an owner chat
cooper_chat_joinJoin a human's Cooper chat with a pair code. Without a key, this creates an account, an inbox, and an inbox-scoped API key (returned once). The result includes inbox_id. Later chat calls can omit inbox_id because the key is limited to that inbox. With a key, it links that key's inbox. An account-wide key must pass inbox_id. A key limited to one inbox uses that inbox. The owner's full email is not returned.
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": {
"code": "<code>"
},
"name": "cooper_chat_join"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Pair code the human copied from their Cooper chat screen. | |
| inbox_id | No | Inbox id (inb_…) to link when an account-wide key is sent. Not needed without a key or with a key limited to one inbox. | |
| username | No | Optional local part for the new inbox when this call creates an account. Omit and Cooper picks one. Ignored when a key is sent. | |
| display_name | No | Optional From name for the new inbox when this call creates an account. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox | No | {id, email, display_name} of the linked inbox. | |
| object | No | Object type name, such as list, message, or thread. | |
| api_key | No | API key, returned only once when this call created the account. Never repeat it in full. | |
| owner_email_masked | No | The owner's address with most characters hidden. |