repopilot_write_runbook
Archive a verified maintenance outcome as a reusable runbook, capturing symptoms, diagnosis, repair, and verification steps for future repository troubleshooting and retrieval.
Instructions
Archive a verified maintenance outcome as a reusable repository runbook. Call only after independent verification for the source run; do not archive an unverified hypothesis or a pull-request review run. This inserts a new runbook and appends runbook evidence.
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": {
"repository": "<repository>",
"title": "<title>",
"summary": "<summary>",
"content": "<content>",
"sourceRunId": "<sourceRunId>"
},
"name": "repopilot_write_runbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Short problem-and-resolution title used in future retrieval results. | |
| content | Yes | Reusable runbook body with symptoms, diagnosis, repair, verification, and relevant limitations; exclude secrets. | |
| summary | Yes | Concise verified outcome, including the root cause and effective repair. | |
| repository | Yes | GitHub repository in owner/name format; it must be present in GITHUB_ALLOWED_REPOSITORIES. | |
| sourceRunId | Yes | Verified maintenance run UUID that produced this runbook. |