code_workspace_update_collaborator
Update a collaborator's role in a code workspace by specifying workspace ID, collaborator ID, and new role.
Instructions
Change a collaborator's role.
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": {
"workspace_id": "<workspace_id>",
"collaborator_id": "<collaborator_id>",
"role": "<role>"
},
"name": "code_workspace_update_collaborator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| workspace_id | Yes | ||
| collaborator_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |