{"uid":"cap_ykP82FJ0i_c2uTus0DSuz","slug":"signaldesk-ai-sort-lines-bb81e889","name":"SignalDesk AI – Sort Lines","description":"Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.","url":"https://x402-agent.kariguetoazul.workers.dev/api/text/sort-lines?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":4096,"description":"Text to process."}}},"responseSchema":{"type":"json","example":{"text":"a\nb\nz"}},"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_JNp70sJAPwvChHsatNObD","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":"Sorts the lines of a given text block into alphabetical order and returns the result","exampleAgentPrompt":"Can you sort these lines alphabetically for me: 'banana\\napple\\ncherry\\ndate'?","exampleUseCases":[{"title":"Alphabetize a grocery list","prompt":"I have this grocery list all jumbled up — can you sort it alphabetically for me? Here it is: 'milk\\neggs\\napples\\nbread\\nzucchini\\ncarrots'"},{"title":"Order log entries by prefix","prompt":"I've got these log file entries and I want them sorted so I can scan them more easily: 'ERROR: disk full\\nDEBUG: starting job\\nWARN: low memory\\nINFO: task complete'"},{"title":"Sort a list of country names","prompt":"Please sort this list of country names alphabetically: 'Zimbabwe\\nArgentina\\nCanada\\nBrazil\\nIndia\\nFrance'"}],"resultDescription":"A JSON object with a 'text' field containing the input lines sorted alphabetically, joined by newlines (e.g. {\"text\":\"a\\nb\\nz\"})","failureModes":["Text exceeds 4096 character limit — request rejected","Empty or missing 'text' field — may return empty result or error","Non-text input types cause validation failure","Payment not provided or insufficient — 402 response blocking access"],"whenToPreferThis":"Choose this endpoint when you need a simple, reliable, pay-per-call alphabetical line sort on up to 4096 characters of text without setting up any infrastructure. It is ideal for lightweight agent workflows that occasionally need text ordering and want to avoid maintaining a dedicated sorting service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:42:16.695Z","isFirstParty":false,"canonicalSlug":"signaldesk-ai-sort-lines-bb81e889"}