$ man pr-description-from-diff
/pr-description-from-diff
NAME
pr-description-from-diff — pull request description generator / pr body from unified diff / ai pr description / github pr body / gitlab mr description / generate-pr…
SYNOPSIS
POST https://x402.agentutility.ai/pr-description-from-diff
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Pull Request description generator / PR body from unified diff / AI PR description / GitHub PR body / GitLab MR description / generate-pr-from-git-diff. Takes any unified git diff (up to 60k chars) and returns a structured PR title (<= 70 chars, imperative, conventional-commits-flavored), 2-5 summary bullets, a 3-7 item actionable test plan rendered as a Markdown checklist, plus a breaking_change boolean and migration note when applicable. Returns both the structured fields and a ready-to-paste Markdown body with ## Summary, ## Test plan, and optional ## Breaking change sections. Pairs with commit-message-from-diff at a wider scope: commits get the one-line subject + body; PRs get the full review-ready narrative.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| diff | string | Unified git diff text. Max 60,000 chars. | required |
| title_hint | string | Optional starting-point title. The model refines but stays close. | optional |
| ticket | string | Optional ticket reference like 'JIRA-1234' — appended to the title and referenced in the body. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| title | string | PR title, imperative voice, <= 70 chars, conventional-commits-flavored. |
| summary | array | 2-5 short bullet strings summarizing what changed and why. |
| test_plan | array | 3-7 actionable verifier-runnable test plan items. |
| breaking_change | boolean | True only if the diff removes or renames public API. |
| breaking_change_note | string | One-sentence migration hint when breaking_change is true; empty string otherwise. |
| body | string | Complete Markdown PR body ready to paste into GitHub or GitLab. Includes ## Summary bullets, ## Test plan checklist, and (when applicable) ## Breaking change. |
| model | string | LLM model that drafted the response. |
| source | string | Which provider served: 'morpheus' or 'venice'. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/pr-description-from-diff \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# MCP packages on npm under # @agentutility/mcp-* (one per cluster) # # Catalog + install: # https://mcp.agentutility.ai # # Or call pr-description-from-diff directly over HTTP — see above.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- wordmintpr-descriptiongit-diffpull-requestcode-reviewgithub-mr
- env
- VENICE_API_KEY
- methods
- POST
- cluster
- wordmint
- price
- $0.01 USDC per call
ADJACENT — other endpoints in wordmint
| endpoint | description | price |
|---|---|---|
| ai-to-human-text | AI text humanizer / GPT detector bypass. | $0.01 |
| citation-verify | Citation verifier / fact-check against URL / does-this-source-support-this-claim / hallucination detector. | $0.01 |
| commit-message-from-diff | Git commit message generator / Conventional Commits / AI commit-msg. | $0.01 |
| humanize | AI text humanizer / GPT detector bypass. | $0.01 |
| regex-from-prompt | Regex generator / NL to regex / pattern builder. | $0.01 |
| sentiment | Sentiment + emotion analyzer. | $0.01 |
| sentiment-analysis | Sentiment analyzer / emotion classifier / aspect-based sentiment. | $0.01 |
| structured-extract | Structured-data extractor / JSON-from-text / schema-guided extraction / key-value pull / form-filler. | $0.01 |
SEE ALSO