{"uid":"cap_ZJWfzgiCUiDjePz0Fe5Gi","slug":"delx-wrap-text-b4fce935","name":"Delx Wrap Text","description":"Hard-wrap text to a column width for $0.001 USDC. Use this when an agent needs wrap text inside a workflow without installing a library or managing an API key. Deterministic first-party execution, structured JSON output, no subscription, and payment only for a successful result.","url":"https://api.delx.ai/api/v1/x402/wrap-text","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":100000,"description":"Primary text input (max 100k chars). Processed first-party; not retained as a dataset."},"width":{"type":"integer","minimum":1,"description":"Optional pad/wrap width when the tool supports it."}}},"responseSchema":{"type":"json","example":{"text":"hello agent world","lines":1,"width":80,"schema":"delx/wrap-text/v1"}},"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_Jps_7UFGvAabLAKhmCYi0","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":"Hard-wraps a text string to a specified column width, returning structured JSON output for $0.001 USDC per call.","exampleAgentPrompt":"Hard-wrap this text to 80 characters wide: 'The quick brown fox jumps over the lazy dog and then continues running across the field into the sunset.'","exampleUseCases":[{"title":"Format README for terminal display","prompt":"Take this README content and hard-wrap every line to 72 characters wide so it looks clean in a terminal: [paste long README text here]."},{"title":"Reflow email body to plain-text width","prompt":"I need this email draft reflowed to 78 characters per line so it displays properly in plain-text email clients — here's the text: [paste draft]."},{"title":"Constrain log messages to column width","prompt":"Wrap this long log message to 60 characters wide so it fits inside our monitoring dashboard without horizontal scrolling: 'Application initialization completed successfully after loading all configuration files from the default system path.'"}],"resultDescription":"A structured JSON response containing the input text hard-wrapped at the specified column width, with line breaks inserted at word boundaries to respect the given width constraint.","failureModes":["Text exceeds 100,000 character limit — request rejected","Width value is less than 1 — validation error returned","Payment not processed — 402 response with payment details","Malformed JSON body — 400 bad request","Network timeout on large text payloads"],"whenToPreferThis":"Prefer this endpoint when an AI agent needs deterministic, server-side text wrapping inside a workflow without bundling a text-processing library, managing dependencies, or setting up an API key. Ideal for lightweight formatting steps in pipelines where installing a full NLP or utility package is impractical and pay-per-success billing ($0.001 USDC) is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:06:59.083Z","isFirstParty":false}