{"uid":"cap_AXgSo-uYzFEyYEea-WI2S","slug":"diff-lines-text-comparison-tool-b5d121e7","name":"Diff Lines Text Comparison Tool","description":"Compare two newline-separated text blocks and return added, removed, and unchanged line sets without calling an upstream model. Pay up to $0.001 per request with x402 USDC on Base. Public paid calls are limited to 1500 input characters and 128 output tokens.","url":"https://gpt55.558686.xyz/v1/tools/diff-lines","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","additionalProperties":true},"queryParams":{"type":"object","required":["before","after"],"properties":{"after":{"type":"string","maxLength":50000},"before":{"type":"string","maxLength":50000}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"fetchedAt":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xFnq4l6U8LGGyA6L8J0Ow","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two multi-line text strings line-by-line and returns a diff summary, paid via x402 USDC microtransaction.","exampleAgentPrompt":"Compare these two versions of my config file line by line and tell me what changed — before: 'host=localhost\\nport=8080\\ndebug=true' and after: 'host=prod.example.com\\nport=443\\ndebug=false'.","exampleUseCases":[{"title":"Spot changes in release notes","prompt":"I have two versions of our release notes — can you diff them line by line and tell me exactly what lines were added or removed? Before: 'Version 1.0\nFixed login bug\nImproved performance' and after: 'Version 1.1\nFixed login bug\nAdded dark mode\nImproved performance\nRemoved legacy API'."},{"title":"Review edited legal clause","prompt":"My lawyer sent back a revised contract clause — compare the original and the edited version line by line so I can see what they changed. Original: 'Payment is due within 30 days.\nLate fees apply after 30 days.\nDisputes must be filed within 90 days.' and revised: 'Payment is due within 15 days.\nLate fees apply after 15 days.\nDisputes must be filed within 60 days.\nAll disputes are subject to arbitration.'"},{"title":"Track environment variable updates","prompt":"We updated our .env file before deploying to staging — diff these two versions line by line and highlight what was added or removed. Before: 'DB_HOST=localhost\nDB_PORT=5432\nAPI_KEY=dev123\nDEBUG=true' and after: 'DB_HOST=staging.db.internal\nDB_PORT=5432\nAPI_KEY=stg456\nDEBUG=false\nLOG_LEVEL=verbose'."}],"resultDescription":"A JSON object with ok: true, tool: 'diffLines', and a summary describing the line-level differences between the before and after text inputs. Identifies added, removed, and unchanged lines.","failureModes":["Missing 'before' or 'after' query parameter returns an error","Text inputs exceeding 50,000 characters are rejected","Payment failure via x402 USDC results in 402 response and no result","Invalid query parameter types may cause schema validation errors","Network or gateway timeout for very large diffs"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-use line-by-line text diff without a subscription, especially when integrating into an agent workflow that already supports x402 USDC micropayments on Base. Prefer this over general-purpose LLM prompts for structured diff output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:58:05.146Z","isFirstParty":false}