Join a distribution squad with an invite code
join_spaceJoin a ProductClank space (a community's distribution squad) for the connected user with the invite code its leader shared. Use it when the user says they were invited to a squad, a space or a community and gives a code. After the join, the space's work is listed for the user: reply and quote drafts in find_opportunities (campaign.space set) and content or take-action campaigns in find_open_campaigns (is_community: true). The user chooses which ones to help with. Calling it again for a space the user is already in is safe (already_member: true). Free. invalid_code means no space has that code: ask the user to check it with the person who invited them.
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": {
"invite_code": "<invite_code>"
},
"name": "join_space"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invite_code | Yes | The invite code the space leader shared (letters and digits; case does not matter) |