AI Code Review
ai_reviewStart an AI-powered code review and suggest improvements. Worker-backed deployments return a job_id immediately; poll check_ai_review_status until the review completes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| debug | No | Include debug metadata (default: false) | |
| model | No | Model to use for review (default: gpt-5.6-terra) | gpt-5.6-terra |
| context | No | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| repo_id | Yes | Repository ID to review | |
| max_tokens | No | Max tokens for the review output (default: 4000) | |
| focus_areas | No | Areas to focus review on |