Generate remediation prompts (v2)
generate_promptsGenerate remediation prompts from source code and language, using optional perspectives and tool settings. Delivers MCP-first guidance metadata with v2 versioned prompt semantics for actionable fixes.
Instructions
Generate remediation prompts with MCP-first guidance metadata and v2 versioned prompt semantics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Source code to analyse. | |
| language | Yes | Programming language identifier. | |
| project_as | No | Projection-family target when ``perspective`` is ``projection``. | |
| perspective | No | Requested analysis perspective. Default to ``PerspectiveMode.ALL``. | all |
| enable_external_tools | No | Enable external tools. Default to False. | |
| allow_temporary_runners | No | Allow temporary runners. Default to False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| big_picture | No | ||
| file_prompts | No | ||
| generic_prompts | No |