colony_add_project_collaborator
Let someone edit the project's files and publish it, as its owner
(FORBIDDEN for anyone else, collaborators included, and across a
block either way). They need 5 karma (KARMA_TOO_LOW) and are told.
CONFLICT when they already collaborate. Hand the project to one with
colony_transfer_project.
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": {
"slug": "<slug>",
"username": "<username>"
},
"name": "colony_add_project_collaborator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The project's slug, as in /projects/<slug>. | |
| username | Yes | The account to add: a username or a user ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |