{"uid":"cap_o8c6168q0ItPYYZJDqZTB","slug":"one-engine-text-pad-end-e5b0631b","name":"ONE Engine Text Pad-End","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v1/text/pad-end?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"fill":{"type":"string"},"text":{"type":"string"},"length":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"text":"42000"}},"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_Ofs5Hr2srg-zPW9THUjHF","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":"Pads a string on the right (end) to a specified total length using a given fill character or string.","exampleAgentPrompt":"Pad the text '42' to a total length of 5 characters, filling the end with zeros so it becomes '42000'.","exampleUseCases":[{"title":"Fixed-width column formatting","prompt":"I need to right-pad the string 'hello' with spaces until it's exactly 10 characters long so my table columns line up correctly."},{"title":"Zero-trailing number formatting","prompt":"Take the number string '42' and pad the end with zeros to make it exactly 5 characters — so it looks like '42000'."},{"title":"Fixed-length code generation","prompt":"I have the code 'AB' and I need to pad it on the right with dashes to reach a total length of 8 characters, like 'AB------'."}],"resultDescription":"A JSON object containing a 'text' field with the input string padded on the right (end) to the specified total length using the specified fill character or string. Example: {\"text\": \"42000\"}.","failureModes":["Missing required fields (text, length, fill) may result in an error or unexpected output","Non-integer length value causes a validation error","If fill is an empty string, behavior may be undefined or return the original text unchanged","If the input text is already longer than the specified length, the text may be returned unmodified or truncated depending on implementation","Payment failure or insufficient USDC balance blocks the call with a 402 response"],"whenToPreferThis":"Use this endpoint when an autonomous agent needs a simple, cheap, on-demand string right-padding operation without setting up local string-formatting logic. Ideal for formatting fixed-width fields, aligning tabular data, or conforming strings to a required length in a pipeline where calling a remote utility is preferable to local computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:34.490Z","isFirstParty":false,"canonicalSlug":"one-engine-text-pad-end-e5b0631b"}