# Function buildPrReviewProposal

MCP exports - MCP server implementation Split from index.ts for file size compliance (Issue #285) Updated Issue #538: Added missing tool registration exports

- buildPrReviewProposal(
  input: {
  prTitle: string;
  prDescription?: string;
  prDiff: string;
  repoContext?: string;
  baseRef?: string;
  headRef?: string;
  simulate: boolean;
  },
  ): string

  Builds the proposal text passed to voters. The voters are designed for yes/no proposals — by framing the diff as "should this PR be merged?" we get usable output without needing new system prompts (Child 3 will add those).

  #### Parameters

  - input: {
    prTitle: string;
    prDescription?: string;
    prDiff: string;
    repoContext?: string;
    baseRef?: string;
    headRef?: string;
    simulate: boolean;
    }

  #### Returns string

  - Defined in packages/nexus-agents/src/mcp/tools/pr-review-tool.ts:215