check_code
Analyze MATLAB code for errors and style warnings, providing detailed issue reports with line numbers and severity.
Instructions
Lint MATLAB code using checkcode/mlint.
Writes the code to a temporary file and runs mcp_checkcode() on it, returning a list of issues (line, column, message, severity).
Note: see execute_code above for why the return annotation is
CheckResult (not a union with ToolResult).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| error | No | ||
| issues | No | ||
| job_id | No | ||
| status | Yes |