{"uid":"cap_IU_uyV5_RdTZ-P9gXxlEz","slug":"agentshelf-lines-sort-ascending-5aba094a","name":"AgentShelf Lines Sort Ascending","description":"Call when an agent needs lines of text transformed with sort-asc. No network. Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/lines-sort-asc first.","url":"https://agentshelf.syntexa.ch/v1/lines-sort-asc?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","examples":["b\na\n"],"maxLength":100000,"minLength":1,"description":"Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VCNo5NtgDfuZOYPwqm0we","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sorts lines of text in ascending (A-Z / 0-9) alphabetical order and returns the result","exampleAgentPrompt":"Sort these lines of text in ascending (A-Z) order: 'banana\napple\ncherry\ndate'","exampleUseCases":[{"title":"Alphabetize a contact name list","prompt":"I have a list of names in random order — can you sort them A to Z? Here they are: 'Zara Ahmed\nJohn Smith\nAlan Brown\nMia Lopez'"},{"title":"Order log entries by severity label","prompt":"Sort these log level labels alphabetically so I can scan them more easily: 'WARN\nERROR\nDEBUG\nINFO\nCRITICAL'"},{"title":"Rank product SKUs ascending","prompt":"I need these product SKU codes arranged in ascending order: 'SKU-402\nSKU-110\nSKU-300\nSKU-215\nSKU-099'"}],"resultDescription":"The endpoint returns the input text with all newline-delimited lines sorted in ascending alphabetical/lexicographic order. Lines are reordered from smallest to largest (A to Z, 0 to 9), preserving line content without modification.","failureModes":["Empty or missing 'text' field returns a validation error","Text exceeding 100,000 characters is rejected","Insufficient USDC balance or payment failure results in HTTP 402","Network or service unavailability returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a pure, no-network, deterministic ascending sort of newline-delimited text lines with a predictable flat fee of $0.007 USDC. Prefer the free sandbox endpoint POST /v1/sandbox/lines-sort-asc first; use this paid endpoint when the sandbox is unavailable or a guaranteed production-grade response is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:18.636Z","isFirstParty":false,"canonicalSlug":"agentshelf-lines-sort-ascending-5aba094a"}