Add or remove an event's co-host or door staff (hosts)
event_team_setAdds, changes or removes a Co-host or Door staff member on an event the signed-in person hosts, by their mobile number, as the organizer dashboard's Team panel does. role is cohost (every host power except money, deleting the event, removing the host and changing the team), door (scan, check in, walk-ins, open the door, counts; nothing else) or none to remove them. Nothing is sent to them: tell them yourself; they get the role the next time they sign in with that number. FIRST CALL WITHOUT confirm returns a PREVIEW with a requestId and changes nothing; read it out, and only when the host says yes, call again with confirm: true and that requestId. Refusals (NOT_FOUND, NOT_AUTHORIZED, NOT_HOST, NOT_ENABLED, BAD_PHONE, BAD_ROLE, NOT_SELF, NOT_THE_HOST, NOT_ON_TEAM, CONFIRM_INVALID) are read out as given. It requires a personal connector token.
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": {
"eventIdOrName": "<eventIdOrName>",
"phone": "<phone>",
"role": "<role>"
},
"name": "event_team_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | cohost, door, or none to remove them. | |
| phone | Yes | The person's mobile number, as the host says it. | |
| confirm | No | Absent on the first call, which changes nothing; true with requestId saves. | |
| requestId | No | The requestId the first call returned. | |
| eventIdOrName | Yes | The event id or the event name as the host says it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| role | No | ||
| error | No | ||
| action | No | ||
| masked | No | ||
| applied | No | ||
| eventId | No | ||
| message | No | ||
| preview | No | ||
| servedBy | No | ||
| requestId | No |