{"uid":"cap_k7h3EMtLLBWAZm8KlshJW","slug":"delx-repeat-string-38af4d6a","name":"Delx Repeat String","description":"Repeat a string a bounded number of times. Call when you build padding/test fixtures without local loops. Returns repeated text capped at 100k chars for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/repeat-str","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Input field: text."},"count":{"type":"integer","description":"Input field: count."}}},"responseSchema":{"type":"json","example":{"text":"xxxx","count":4,"schema":"delx/util-repeat-str/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_F8J0Zq_uCpu-VxiN6KHYS","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":"Repeats a given string a specified number of times, returning the concatenated result capped at 100,000 characters.","exampleAgentPrompt":"Repeat the string '-=-' exactly 50 times and give me the result.","exampleUseCases":[{"title":"Generate test fixture padding","prompt":"I need a test fixture string — repeat 'ABCD' 200 times and give me the full output to use as dummy data."},{"title":"Build a repeated separator line","prompt":"Create a separator line by repeating '-' 80 times so I can use it in a plain-text report header."},{"title":"Fill a template placeholder","prompt":"Repeat the word 'lorem ' 30 times to fill in a placeholder block in my document template."}],"resultDescription":"Returns the input text concatenated the specified number of times as a plain string, hard-capped at 100,000 characters total to prevent runaway output.","failureModes":["Result would exceed 100,000 character cap — endpoint truncates or rejects the request","Missing required 'text' or 'count' field — returns a 400-level validation error","Non-integer or negative count — likely returns a validation error","Payment failure via x402 — request not processed, no output returned"],"whenToPreferThis":"Use this endpoint when an AI agent needs to repeat or duplicate a string a bounded number of times without writing local loop logic, especially in agentic pipelines that cannot execute arbitrary code. It is ideal for generating padding, test fixtures, separators, or placeholder content inline. Prefer it over local code execution when the agent environment restricts loops or when you need a simple, stateless, pay-per-call micro-utility.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:09.458Z","isFirstParty":false}