Documentation Review changes

Review changes

Control the evidence and the returned signal.

MCP and REST use the same request shape, so a review behaves consistently across both interfaces.

Request fields

FieldTypeDescription
diff RequiredstringUnified Git diff text with file headers and at least one hunk.
targetLanguage RequiredenumPrimary language identifier for the submitted change.
contextSnippets OptionalarrayRepository-relative source excerpts with line ranges and optional symbol or language labels.
clientReference OptionalstringOpaque caller value returned unchanged for correlation.
options OptionalobjectControls for effort, priority filtering, finding count, and partial results.

Review options

FieldTypeDescription
minPriority OptionalP0 | P1 | P2Lowest returned priority. Defaults to P2.
maxFindings Optional1–100Maximum findings returned. Defaults to 25 and cannot exceed 100.
enableComplexityRouting OptionalbooleanAllows additional analysis effort for complex diffs. Defaults to true.
allowPartialResults OptionalbooleanReturns completed chunk results if a later chunk fails. Defaults to false.

Languages and payload limits

Supported identifiers: typescript, javascript, python, go, rust, java, csharp, cpp, c, ruby, php, swift, kotlin, scala, shell, and sql.

Current release limits

The diff may contain up to 256,000 UTF-8 bytes. The serialized target language and context snippets may contain up to 64,000 UTF-8 bytes.