invite_team_member
Invite a new team member to the agency by email — sends them a signup invite (or, if that email already has an active Synup account elsewhere, an account-link invite instead). They join as a member. Fails if that email is already on this agency's team; for an invite they haven't accepted yet, resend_team_invite sends it again. Page access works as in the app's invite: permissions turns pages on ({ moduleKey: true }), every page not named stays off, and with no permissions they join with no pages on until someone turns them on in Synup (Settings > Team) — tell the user that. If the email can't be sent, nothing is kept and the invite can simply be tried again later. Returns the new (pending) member's id.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "invite_team_member",
"arguments": {
"firstName": "string",
"lastName": "string",
"email": "string"
}
}
}{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.