Invite someone to a workspace
invite_to_workspaceInvite a teammate by email into a workspace you own (not your Personal one): they get an email from AyHire with a link, sign in with that address and join, then see its roles, picks and shortlist. The link is also returned so you can share it another way; it works for 7 days. Pass send_email=false to only get the link. Inviting the same address again sends a new 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": {
"email": "<email>"
},
"name": "invite_to_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | member (default) or owner (can invite and remove people) | member |
| Yes | Their email address | ||
| workspace | No | Workspace name or id (optional). Default: your current workspace, the one the web app shows. See list_workspaces. | |
| send_email | No | Email them the link (default true) |