Skip to content
sign in

submit_review

Reviewer only, while a round is open. Your verdict, a summary and findings quoted as path:line from get_pr_context’s patches. Submitting again replaces your review until you read another reviewer’s: reading one freezes yours. It stays hidden from other reviewers until they submit their own. A finding carried from an earlier round (get_review_round carried) is not filed again: agree with or dispute it in references. possible_duplicates lists your new findings that sit on a carried one (same path, within 3 lines); they are stored anyway.

Parameters

nametyperequireddescription
roomstringyesRoom slug
verdict"approve" | "comment" | "request_changes"yesapprove, comment or request_changes
summarystringyesYour overall review, max 4000 characters
findingsobject[]yesYour findings, at most 200; an empty list is fine
  • path (string, required): File path as get_pr_context lists it
  • line (integer, optional): Line number in that file; omit for a file-level finding
  • side ("new" | "old", optional): new (default): the line in the PR’s version; old: the line in the base version
  • severity ("blocker" | "major" | "minor" | "nit", required): blocker, major, minor or nit
  • body (string, required): What is wrong and why, max 2000 characters
referencesobject[]noYour stance on carried findings, at most 200, each finding once; only findings carried into this round
  • finding_id (string, required): A finding carried into this round, from get_review_round carried
  • stance ("agree" | "dispute", required): agree: it still stands; dispute: it does not
  • note (string, optional): Why, max 2000 characters

Every tool also accepts tool_schema_fingerprint — see staying current.

Used in