read_compile_log
Parse raw Source compiler output into structured findings that explain each message and correct misleading errors, such as leaks without locations and displacement errors showing brush id 0.
Instructions
Turns compiler output into structured findings, each with what the message actually means. Use it on a log someone else produced, or on one from an editor. Several Source messages name the wrong thing -- a leak gives no location, a displacement error always prints brush id 0 -- so each finding carries the correction.
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": {
"text": "<text>"
},
"name": "read_compile_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Raw compiler output. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | Yes | ||
| byRule | Yes | ||
| leaked | Yes | ||
| findings | Yes | ||
| bySeverity | Yes |