Get the fix from Appgarten
get_fixWith id (from findings): the suggested fix for one finding, as an instruction. All levels. Without id: on Level 3 the security update Appgarten has prepared and tested, as a diff, otherwise the fixes that are ready. A fix is applied only when the customer asks for it. Changes nothing at Appgarten.
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": "get_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The id of the fix, from findings. | |
| app | No | The name of the app at Appgarten, when there is no git repository. | |
| app_id | No | The app's Appgarten ID (app_id) from the file .appgarten in the project. With it, Appgarten knows which app the call is about. Not a secret. | |
| language | No | The language of the reply: nb (Norwegian) or en (English), the same as My account. Default en. For any other language, use en and translate it yourself. | |
| repository | No | The repository you are working in, as the SHA of its first commit (git rev-list --max-parents=0 HEAD | tail -n 1. If git rev-parse --is-shallow-repository says true, run git fetch --unshallow first; if it is still shallow, leave repository out). Not the address. Appgarten finds the app from it. The app is tied to this repository from the first version. |