Panel: accept collaboration
view_accept_invitationApp-only adapter for the connection panel's Accept invitation button, after the user agrees to the displayed session role. id identifies an incoming invitation addressed to this verified account. For your_role=receive, supply an own listed device_id: this permits the other participant to control that computer. For your_role=control, no receiving computer is required from this account. Accepting changes session access and selection; returns updated connection state. Models should use accept_collaboration; use view_decline_invitation to refuse instead.
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": {
"id": "<id>"
},
"name": "view_accept_invitation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Identifier of the pending incoming invitation shown to this account. | |
| device_id | No | Own listed receiving computer for accepting a receive-role invitation; unused when declining. |