workbench_analyze
Run structured source analysis—AST queries, linting, Git history, crash symbolization, and log parsing—to investigate bugs and collect evidence with provenance.
Instructions
Structured analysis: Tree-sitter AST/query including Swift and syntactic call edges; Ruff/clang-tidy/golangci-lint/ESLint/SwiftLint; Git diff/blame/log; addr2line/LLVM symbolizer; local Semgrep rules; compiler/test/stack parsing. Missing tools or malformed output never imply a clean scan. ESLint requires execution authorization.
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": {
"case_id": "<case_id>",
"target_file_filter": "<target_file_filter>",
"analysis": "<analysis>"
},
"name": "workbench_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes | ||
| analysis | Yes | ||
| max_lines | No | ||
| timeout_ms | No | ||
| target_file_filter | Yes | Exact files relative to source_root. Directories and whole-repository globs are refused. |