Invite by email
share_inviteInvite a person by email to an artifact you own (owner only); they get the same invite mail as from the Share panel. Call this only when the user asks you to invite that person; never invite anyone or grant access on your own. role is view, comment or edit. expiresAt (optional, ISO 8601 in the future) ends their access at that time. Subject to the mail quota (rate_limited). Returns { id, email, role, inviteId, expiresAt? }.
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>",
"email": "<email>",
"role": "<role>"
},
"name": "share_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| role | Yes | ||
| Yes | |||
| expiresAt | No |