get_scan_prompt
Retrieve security or functional scan briefs to guide evidence collection for missing controls or test implementation, scoped by control ID if needed.
Instructions
Get guidance prompts for scanning a codebase. Read-only; no side effects.
kind selects which scan brief to return:
"security"(default) — prompts telling the agent what evidence to look for per security control; only NOT_IMPLEMENTED controls are included (implemented ones need no scan). Use this to drive a gap-discovery pass, then record what is missing withsubmit_findingsand what is present withsubmit_assertions. Passcontrol_idto scope the prompt to one control; empty (default) returns prompts for all not-yet-implemented controls."functional"— the agent brief for implementing functional-conformance tests. Generation specifies the functional tests, so for each test not yet verified this returns its implementation brief and the objectives it proves; it also reportsobjectives_without_tests(regenerate or add a test) andmissing_objectives(applicable conditions with no objective yet). Drive test implementation from it, then callsubmit_functional_test_assertionswith TEST_EXISTS + TEST_PASSES assertions so CI verifies each test; read the resulting pass/fail state viaget_functional_coverage.control_iddoes not apply to this kind and is ignored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | "security" (default) or "functional" — which scan brief. | security |
| model_id | Yes | ID of the threat model. | |
| control_id | No | Security kind only — optional single control to scope the prompt to. Empty (default) returns prompts for all not-yet-implemented controls. Ignored when kind="functional". | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||