Update application AI config
update_application_ai_configChange how Ankra AI runs on an Application's repository: enable or disable a lane, pick its model, scope it to branches, ignore paths, set custom review instructions, or set its budget - including max_reviews_per_pull_request, the cap on automatic reviews one pull request receives (platform default 3, 0 = no cap). Call get_application_ai_config first: an override REPLACES the organisation's lane wholesale, so any field you omit falls back to the platform default rather than to your organisation's setting. Send override false for a lane to drop the override and follow the organisation again. Only lanes named in the request are touched.
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": {
"application_id": "<application_id>",
"lanes": "<lanes>"
},
"name": "update_application_ai_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lanes | Yes | The lanes to change. Lanes left out keep whatever they have. | |
| application_id | Yes | The Application's id. |