{"uid":"cap_A3838eRC65UCVtQoE1kEE","slug":"agentshelf-character-diff-addd3329","name":"AgentShelf Character Diff","description":"Call when an agent needs a chars diff of two strings. No network. Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/diff-chars first.","url":"https://agentshelf.syntexa.ch/v1/diff-chars?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.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZEdfAQXR1a9GftRoETTOx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a character-level diff between two input strings, returning the differences between them without any network calls.","exampleAgentPrompt":"Can you give me a character-level diff between these two strings: 'Hello world!' and 'Hello Word!!'?","exampleUseCases":[{"title":"Detecting typo in edited text","prompt":"I have two versions of a short string — the original is 'color' and the edited one is 'colour'. Can you run a character diff to show exactly what changed?"},{"title":"Comparing code snippet revisions","prompt":"Show me the character-level differences between these two function signatures: 'function calcTotal(price, tax)' and 'function calculateTotal(price, taxRate)'."},{"title":"Auditing config value changes","prompt":"I need to see exactly which characters changed between these two config strings: 'timeout=30s&retry=3' and 'timeout=60s&retry=5'. Can you diff them?"}],"resultDescription":"Returns a character-level diff showing exactly which characters were added, removed, or changed between the two input strings, computed locally without network access.","failureModes":["Input strings exceeding 100,000 characters each may be rejected","Missing or malformed 'a' or 'b' fields return a validation error","Payment of exactly $0.001 USDC required; incorrect payment may cause rejection"],"whenToPreferThis":"Use this endpoint when you need a precise, character-level diff between two strings and want a simple, low-cost ($0.001 USDC) computation. Prefer the free sandbox endpoint POST /v1/sandbox/diff-chars first for testing. Choose this over word-level or line-level diff services when character granularity matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:07.370Z","isFirstParty":false,"canonicalSlug":"agentshelf-character-diff-addd3329"}