add_project_member
Assigns a user, username, or service ID to a watsonx project with a specified role (admin, editor, or viewer) via the project members API.
Instructions
EXPERIMENTAL — untested. Wraps POST /v2/projects/{id}/members. identity
is forwarded as-is (IAM id / username / service-id) — the exact expected
request field name isn't confirmed; sent under a generically-named key.
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": {
"project_id": "<project_id>",
"identity": "<identity>",
"role": "<role>"
},
"name": "add_project_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | ||
| identity | Yes | ||
| project_id | Yes |