Add collaborator
add_collaboratorInvite a collaborator to a Wavelength flow by email, with role editor or viewer (default editor). Collaboration needs the Pro plan. Calling add_collaborator again for the same email with a new role changes the collaborator's role. Returns the new collaborator.
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": {
"flow_id": "<flow_id>",
"email": "<email>"
},
"name": "add_collaborator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | The collaborator role. Defaults to editor. Calling again with a new role changes the role. | |
| Yes | The email of the person to invite. | ||
| flow_id | Yes | The id of the flow. |