{"uid":"cap_hfLSQgiUcLx1We64xunaG","slug":"agentshelf-case-insensitive-line-sorter-5241d865","name":"AgentShelf Case-Insensitive Line Sorter","description":"Call when an agent needs lines of text transformed with sort-ci. No network. Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/lines-sort-ci first.","url":"https://agentshelf.syntexa.ch/v1/lines-sort-ci?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.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_z70beWv0-m0YIyqjgtUyG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","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 case-insensitively (sort-ci) and returns the sorted result","exampleAgentPrompt":"Sort these lines of text alphabetically, ignoring uppercase and lowercase differences: 'Banana\nApple\ncherry\ndate\nELDERBERRY'","exampleUseCases":[{"title":"Alphabetize a contact list","prompt":"I have a list of names that are all mixed case — can you sort them alphabetically ignoring capitalization? Here they are: 'alice Smith\nBob jones\ncarol White\nDave Brown'"},{"title":"Sort log tags for deduplication","prompt":"Sort these log category tags case-insensitively so I can spot duplicates more easily: 'ERROR\nerror\nWarning\nINFO\ninfo\nDebug'"},{"title":"Order a word list for a glossary","prompt":"I'm building a glossary and need these terms sorted alphabetically regardless of how they're capitalized: 'OAuth\napiKey\nBearer token\njwt\nSSO\naccess_token'"}],"resultDescription":"Returns the input text with all lines reordered in case-insensitive ascending alphabetical order, preserving original line content (including original casing of each line).","failureModes":["Empty or missing 'text' field returns a validation error","Text exceeding 100,000 characters is rejected","Payment failure or insufficient USDC balance causes a 402 response","Network unreachable or service downtime returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need a deterministic, server-side case-insensitive line sort without any local compute — particularly useful in agent pipelines that run in sandboxed environments with no access to shell utilities like `sort -f`. If a free sandbox endpoint at POST /v1/sandbox/lines-sort-ci is available, prefer that first to avoid the $0.008 USDC charge.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:52:43.696Z","isFirstParty":false,"canonicalSlug":"agentshelf-case-insensitive-line-sorter-5241d865"}