map_risks_to_controls
Identify mitigating controls for given risks using risk IDs, free-text queries, or multiple queries. Filter by preventive or detective controls and see uncovered risks.
Instructions
Map risks to the controls that mitigate them. Pass explicit risk_ids (up to 25), a free-text query (the top k matching risks are used), and/or up to 5 queries (each contributing its own top k matches, unioned with everything else) -- useful for "both X and Y" questions where a single query blurs together two distinct concepts. Controls are ordered by how many of the given risks they cover; control_type (PREV or DET) restricts the result. Reports uncovered risks and any inputs that did not resolve.
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": "map_risks_to_controls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| query | No | ||
| queries | No | ||
| risk_ids | No | ||
| control_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | Yes | ||
| risks | Yes | ||
| controls | Yes | ||
| unresolved | No | Inputs that did not resolve to a risk. | |
| uncovered_risks | No | Risk ids with no mapped control. |