review
Analyze code already in context to receive structured findings, a quality score, and improvement suggestions. Supports security, performance, quality, or comprehensive reviews.
Instructions
Review a code blob you already have in context and return structured findings + a quality score + improvement suggestions. Pass the code itself in content; this tool does not read any file from disk. Use when Claude already has the code in hand. For a review of a file Claude has NOT seen (so the file content stays out of context, ~90% token savings), use analyze_file with analysisType:'security' instead. For multiple AI perspectives on the same code, use council. Read-only: never writes to disk. Returns: {success, file_path, language, review_type, review (full review text from the LLM, includes findings + severity + suggestions), endpoint_used}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Code content to review | |
| file_path | No | File path for context | |
| language | No | Programming language hint | |
| review_type | No | comprehensive |