{"uid":"cap_N3NRUyuEt1gfbiCRQjKdd","slug":"tool-schemas-record-sequence-diff-d6b3d006","name":"Tool Schemas — Record Sequence Diff","description":"Compare pinned tool-schema declaration projections and shared-record order without treating insertion as reordering. No transport execution, schema resolution or compatibility certificate. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.","url":"https://www.mahastrategies.com/api/v1/verify/tool-schemas/record-sequence-diff?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"after":{"type":"array","maxItems":32,"minItems":0},"before":{"type":"array","maxItems":32,"minItems":0},"dataClass":{"enum":["public","synthetic"],"type":"string"},"nonpersonalMetadata":{"type":"boolean","const":true}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.035098","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.035098/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035098","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.035098","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UjVeuaXZ3q17RTehV__pS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.035098","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two ordered lists of pinned tool-schema declaration projections to detect insertions, deletions, and reorderings, treating insertions as distinct from reorders.","exampleAgentPrompt":"Can you diff these two tool-schema declaration lists — the before list has ['schema-A','schema-B','schema-C'] and the after list has ['schema-B','schema-C','schema-D'] — and tell me what was inserted, deleted, or reordered, treating any new entries as insertions rather than reorders? The data class is synthetic and this is nonpersonal metadata only.","exampleUseCases":[{"title":"Tool schema version audit","prompt":"I have two snapshots of our tool-schema declaration projections from before and after last night's deployment — can you compare the record sequences and tell me exactly what was inserted, deleted, or reordered, making sure insertions aren't counted as reorders? Both lists have fewer than 32 entries and the data is classified as synthetic."},{"title":"Detecting accidental schema reordering","prompt":"Our pipeline produced two versions of the same tool-schema record list and I need to know if the shared records stayed in the same order between them — please diff the before and after sequences and flag any genuine reorders separately from new insertions. Treat this as synthetic, nonpersonal metadata."},{"title":"Pre-release schema ordering check","prompt":"Before we ship this update, can you check that the order of shared tool-schema declaration records hasn't changed between the old manifest and the new one? Here are the two arrays — flag insertions separately from any ordering changes. Data class is public and this is nonpersonal metadata."}],"resultDescription":"Returns a structured diff of the two tool-schema record sequences, identifying which records were inserted, deleted, and reordered, while explicitly distinguishing insertions from reorderings. Results are retained for 24 hours; minimal receipt metadata is kept for 90 days.","failureModes":["Arrays exceeding 32 items will be rejected","nonpersonalMetadata must be set to true (const) — any other value causes validation failure","dataClass must be exactly 'public' or 'synthetic' — other values rejected","Empty or malformed array items may produce incomplete diff results","Expired results (older than 24 hours) are not retrievable"],"whenToPreferThis":"Use this endpoint when you need to compare ordered sequences of tool-schema declaration projections and require that insertions be correctly distinguished from reorderings — not conflated. Prefer this over generic diff utilities when the domain is specifically tool-schema metadata, when you need offline typed comparison with no transport execution or schema resolution, and when working with nonpersonal metadata classified as public or synthetic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:44:25.050Z","isFirstParty":false,"canonicalSlug":"tool-schemas-record-sequence-diff-d6b3d006"}