df_set_project_access
Grant or change a user's access level on a DataForge project. Enforces downgrade-only roles and requires project owner or admin authorization.
Instructions
WRITES TO DATAFORGE. Grant or change a user's access level on a project. Downgrade-only: a level above the user's global role is rejected. Requires the caller to be the project owner or a company administrator.
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>",
"user_id": "<user_id>",
"access_level": "<access_level>"
},
"name": "df_set_project_access"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | ||
| project_id | Yes | ||
| access_level | Yes | ||
| idempotency_key | No | Optional UUID v4. Reusing a key within 24 hours replays the original response instead of applying the change twice. One is generated automatically when omitted. |