{"uid":"cap_3tbOnLA7BlExiqfXSuJlH","slug":"agentshelf-syntexa-ch-lines-diff-43ca0083","name":"agentshelf.syntexa.ch Lines Diff","description":"Call when an agent needs a lines diff of two strings. No network. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/diff-lines first.","url":"https://agentshelf.syntexa.ch/v1/diff-lines?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"a":{"type":"string","examples":["one two"],"maxLength":100000,"description":"Left-hand text."},"b":{"type":"string","examples":["one three"],"maxLength":100000,"description":"Right-hand text."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_B8iYlKrlA8H_cYjLOUNG9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a line-by-line diff of two input strings and returns the differences, running entirely locally without network dependencies.","exampleAgentPrompt":"Can you give me a line-by-line diff of these two texts? Before: 'Hello world\nFoo bar\nBaz' and after: 'Hello world\nFoo baz\nBaz qux' — just show me what lines changed.","exampleUseCases":[{"title":"Code patch review assistant","prompt":"I need to see exactly which lines changed between the original function and the revised one — here's the old version and the new version, can you diff them line by line and show me what was added or removed?"},{"title":"Config file change detection","prompt":"Can you compare these two config files line by line and tell me what lines are different? Old config: 'host=localhost\nport=8080\ndebug=false' and new config: 'host=prod.example.com\nport=443\ndebug=false\nlog=true'."},{"title":"Document version comparison","prompt":"I have two drafts of a paragraph — can you do a lines diff to show me exactly which lines were changed, added, or deleted between the first draft and the second draft?"}],"resultDescription":"A line-by-line diff output showing which lines were added, removed, or unchanged between string A and string B, computed without any external network calls.","failureModes":["Input string exceeds 100,000 character limit — request rejected","Missing required fields 'a' or 'b' — validation error","Payment of exactly $0.009 USDC not provided — 402 Payment Required","Malformed JSON body — 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need a deterministic, line-level diff of two strings and require no external network access during computation. It is appropriate for comparing code snippets, config files, or text documents where exact line changes matter. Prefer the free sandbox endpoint POST /v1/sandbox/diff-lines first; only fall back to this paid endpoint when the sandbox is unavailable or you need production reliability. Avoid if you need character-level or word-level diffs rather than line-level.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:01.056Z","isFirstParty":false,"canonicalSlug":"agentshelf-syntexa-ch-lines-diff-43ca0083"}