Create or update a team
wflow_upsert_teamCreate or update a team and assign users in one operation. Provide team details with optional teamId to modify an existing team.
Instructions
Create a team (POST, omit id) or update it (PUT, pass teamId). Body: {name, description?, users?:[userId...]}. This is how you 'create a new team X and add these users to it'.
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": {
"team": "<team>"
},
"name": "wflow_upsert_team"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team | Yes | TeamUpdate object {name, description?, users?:[uuid...]}. | |
| teamId | No | Existing team id to update. Omit to create. | |
| organization | No |