anon_patch_roles_role_name
Updates permissions for a project role via PATCH, using the API key to identify the project; requires role:manage and a URL-encoded role name.
Instructions
更新角色权限。需 role:manage 权限。roleName 需 URL 编码。 PATCH /api/projects/{id}/roles/{roleName} 项目由当前 API 密钥自动确定,无需传 projectId。
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": {
"path": "<path>",
"body": "<body>"
},
"name": "anon_patch_roles_role_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| path | Yes |