anon_post_roles
Create project roles by specifying a name and permission list using the current API key; requires role:manage permission.
Instructions
创建角色。需 role:manage 权限。 POST /api/projects/{id}/roles 项目由当前 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": {
"body": "<body>"
},
"name": "anon_post_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes |