anon_get_risks
List active and ignored risk alerts for the current project, sorted by severity and latest detection time. Requires project membership; project is set by the API key.
Instructions
列出风险预警。需项目成员身份。仅返回 active 与 ignored 状态;排序为级别 critical→warning→info,同级按最近检测时间倒序。 GET /api/projects/{id}/risks 项目由当前 API 密钥自动确定,无需传 projectId。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "anon_get_risks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||