Offer My Setup to a Friend
share_with_friendOffers the user's own setup snapshot to a friend (recipientHandle) with the given scopes, an optional duration and an optional message. The friend accepts or declines in their inbox; nothing is shared until they accept. Never-share scopes are removed before saving. Returns the offer. [Bearer scope: trust:invite]
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": {
"recipientHandle": "<recipientHandle>",
"scopes": "<scopes>"
},
"name": "share_with_friend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scopes | Yes | ||
| message | No | Optional note to the recipient saying what is offered and why. | |
| durationSeconds | No | ||
| recipientHandle | Yes |