Skip to content

mark_pr_ready

Mark specified draft pull requests in a Polygraph session as ready for review.

Provide PR URLs to transition from DRAFT to OPEN status. Use after cross-repo changes are verified.

NameTypeRequiredDescription
sessionIdstringyesThe Polygraph session ID, or a supported Polygraph app session URL. Supported URL paths are /s/<session-id> and /orgs/<org-id>/sessions/<session-id>. URL inputs are normalized to the session ID; the MCP always uses the current Polygraph API configuration.
prUrlsarrayyesURLs of the pull requests to mark as ready for review
agentSessionIdstringnoThe AI agent session ID. Can be used to resume the session later. Resuming is reconnecting to restore context only. After you resume, do not make any changes until the user explicitly asks for changes.