{"uid":"cap_qg_RlKaIlHjIdIplVr_fI","slug":"json-string-length-check-9a9ff4c0","name":"JSON String Length Check","description":"JSON String Length Check: JSON String Length Check checks selected string fields against caller length bounds from bounded caller-supplied values without an external provider. Call JSON String Length Check before an agent hands structured data or a batch plan to a downstream tool with a stricter contract. Returns the bounded transformation or validation finding with counts, normalized values, and a versioned result contract for JSON String Length Check as versioned deterministic JSON. Price: $0…","url":"https://api.delx.ai/api/v1/x402/json-string-length-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Fields supplied to JSON String Length Check; used only for this bounded calculation and processed in memory without retention."},"object":{"type":"object","description":"Object supplied to JSON String Length Check; used only for this bounded calculation and processed in memory without retention.","maxProperties":128,"additionalProperties":true},"maximum":{"type":"integer","description":"Maximum supplied to JSON String Length Check; used only for this bounded calculation and processed in memory without retention."},"minimum":{"type":"integer","description":"Minimum supplied to JSON String Length Check; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"passed":true,"invalid_fields":[]},"schema":"delx/util-json-string-length-check/v1","status":"pass","evidence":{"retained":false,"input_sha256":"e61f8b4c6194a85d31be821c7ddcec01a240fe3d4b33cd76336131c6315185b6","external_calls":0},"operation":"data_batch:json_string_length_check"}},"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_Qt_f25vTjhJwFnnqCCi-O","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":"Validates selected string fields in a JSON object against caller-supplied minimum and maximum length bounds, returning counts and normalized validation findings.","exampleAgentPrompt":"Before sending this payload to the downstream tool, check the 'name', 'description', and 'summary' fields to make sure they're all between 5 and 200 characters long.","exampleUseCases":[{"title":"Pre-flight check before downstream API","prompt":"I'm about to send a batch plan to a third-party API that requires all string fields to be between 10 and 500 characters — can you validate the 'title', 'body', and 'tags' fields in this object first?"},{"title":"Validate agent-generated form fields","prompt":"My agent just filled out a form object with 'first_name', 'bio', and 'tagline' — check that none of them are shorter than 2 characters or longer than 100 before I submit it."},{"title":"Enforce contract on structured output","prompt":"I need to make sure the 'headline' and 'description' fields in this JSON result are within the allowed range of 1 to 256 characters — can you run a length check and tell me which ones pass or fail?"}],"resultDescription":"Returns a versioned deterministic JSON object with per-field validation findings, character counts, normalized values, and an overall pass/fail status indicating which fields satisfy the supplied minimum and maximum length bounds.","failureModes":["Field names listed in 'fields' not found in the provided object — those fields may be skipped or flagged as missing","Minimum greater than maximum causes an invalid bounds error","Object exceeds 128 properties limit — request rejected","Fields array exceeds 256 items — request rejected","Individual string values exceeding 8192 characters may be truncated or rejected","Non-string field values may be ignored or cause type mismatch findings"],"whenToPreferThis":"Use this endpoint when an agent needs a deterministic, stateless preflight check on string field lengths in a JSON object before handing structured data to a downstream tool or API with strict character constraints. Prefer it over manual checks when you need versioned, auditable validation findings with normalized output rather than a simple boolean.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:42:16.951Z","isFirstParty":false,"canonicalSlug":"json-string-length-check-9a9ff4c0"}