diagnose_log
Extract the error signature from a failing build or runtime log and retrieve the documentation pages that explain that class of failure.
Instructions
Extract the error from a failing build or runtime log and fetch the docs for it.
Reduces the log to one error signature — the most specific failure line, not the last one — and returns the documentation pages explaining that class of failure.
Args: log: The raw log text. Only the last 300 lines are read.
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": {
"log": "<log>"
},
"name": "diagnose_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |