Link the invitation to an account
link_invitation_to_accountMove a draft created in this chat into the user's own account on the website, so they can add their photos, publish it and keep it. Use it when the user wants to keep or publish the invitation. Two ways, ask the user which they prefer:
with
email: the website emails them a confirmation link; opening it they choose a password (or use the account they already have) and the invitation is theirs. Ask for the address; never make one up.without
email: returnsclaim_url, a one-time link to show the user; they open it and sign up or log in on the website themselves (Google sign-in included). It never tells whether an account already exists for that address. Works only while the invitation is not yet linked to an account. No account is created until the user opens the link.
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": {
"ownership_code": "<ownership_code>"
},
"name": "link_invitation_to_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | The user's email address, exactly as they gave it. Omit it to get a link to show instead of sending an email. Never guess or invent an address. | ||
| ownership_code | Yes | The ownership_code returned by create_invitation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||