review_code
Reviews code for bugs, security, architecture, and style issues. Accepts inline code or file paths, with configurable focus areas and multiple review perspectives.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "review_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | 인라인 코드 (기존 호환) | |
| files | No | 리뷰할 파일 경로 (CLI가 직접 읽음, 상대경로만) | |
| focus | No | 집중할 리뷰 영역 (perspectives=1일 때 적용) | all |
| language | No | 프로그래밍 언어 (자동 감지) | |
| parallel | No | [deprecated] 항상 병렬 실행 | |
| context_docs | No | 리뷰 전 필수 읽기 문서 경로 (CLI가 직접 읽음, 상대경로만) | |
| perspectives | No | 리뷰 관점 수 (1: 버그/보안, 2: +아키텍처, 3: +비판적). 각 관점마다 GPT 1 에이전트 | |
| include_strategist | No | [deprecated] perspectives 사용 권장 |