Propose Kb Update
propose_kb_updatePropose an update to an existing knowledge base entry instead of duplicating it: write a new draft in knowledge/drafts/, merge added regexes and build URLs, and report whether the build matches.
Instructions
Propose an update of an EXISTING knowledge base entry instead of writing a duplicate: writes a NEW
draft next to it in knowledge/drafts/ with the build URL added to builds, the extra regexes merged in
and an 'Update proposal' section. Never touches the entry itself or Jenkins, never overwrites a file.
Reports whether the entry matches the given build.
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": {
"id": "<id>"
},
"name": "propose_kb_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Reviewed entry to update, e.g. KB-0001 | |
| job | No | Job full name or Jenkins URL. Empty = not tied to a build. | |
| note | No | What is new: another occurrence, a better fix, a wrong regex... | |
| build | No | Build number or permalink: lastBuild, lastFailedBuild, lastSuccessfulBuild, lastCompletedBuild, lastUnsuccessfulBuild. Empty = build from the URL, else lastBuild. | |
| instance | No | Jenkins instance name from list_instances. Empty = default instance. | |
| add_match | No | Python regexes (case-insensitive). Use specific phrases copied from the log, not generic words like 'ERROR'. | |
| add_consequences | No | Python regexes (case-insensitive). Use specific phrases copied from the log, not generic words like 'ERROR'. | |
| add_red_herrings | No | Python regexes (case-insensitive). Use specific phrases copied from the log, not generic words like 'ERROR'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||