Save a project choice
air_record_project_decisionRecords a developer's stated decision to mark a project risk-assessment topic not applicable or accept a missing control, saving the reason and scan context for later reviews.
Instructions
Save a developer choice on the project, in the person's own words. Ask them first. Use not_applicable when the whole topic (themeId) does not apply to this system: later scans keep that topic and its gaps quiet while it is raised on the same documents and seriousness, and bring it back when the scan cites new text, the topic grows more serious, or six months have passed. Use accept_gap when the topic applies but the person accepts one missing control (controlId required): the gap stays listed with the saved sentence beside it. Pass the assessmentPid the person decided on; the choice remembers that scan's documents. The scan the choice is recorded on does not judge it; later scans do. A later choice for the same theme or control replaces the earlier one. Requires projects:write.
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": {
"projectPid": "<projectPid>",
"assessmentPid": "<assessmentPid>",
"choice": "<choice>",
"themeId": "<themeId>",
"reason": "<reason>"
},
"name": "air_record_project_decision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| choice | Yes | ||
| reason | Yes | ||
| themeId | Yes | ||
| controlId | No | ||
| projectPid | Yes | ||
| assessmentPid | Yes |