{"uid":"cap_eSjDqhZpMcypkoeVrhcGz","slug":"agentshelf-lines-sort-numeric-3b959e52","name":"AgentShelf Lines Sort Numeric","description":"Call when an agent needs lines of text transformed with sort-numeric. No network. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/lines-sort-numeric first.","url":"https://agentshelf.syntexa.ch/v1/lines-sort-numeric?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.009","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rfWEtwc_NwuR00VGUuizP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","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 numerically, returning them in ascending numeric order","exampleAgentPrompt":"Sort these lines numerically for me: '30\n2\n100\n7\n55' — I need them ordered from smallest to largest number.","exampleUseCases":[{"title":"Sort numeric log entries by value","prompt":"I have these log lines with numeric codes and I need them sorted numerically: '404\n200\n301\n500\n201'. Can you put them in numeric order for me?"},{"title":"Order a list of prices smallest to largest","prompt":"Sort these price values numerically so I can see them from cheapest to most expensive: '9.99\n1.50\n100.00\n14.95\n0.99'."},{"title":"Rank dataset rows by numeric score","prompt":"I've got a bunch of lines each containing a score like '88\n72\n95\n61\n80' — sort them numerically from lowest to highest so I can rank them."}],"resultDescription":"Returns the input lines rearranged in ascending numeric order, with each line on its own line, processed locally without any network calls or LLM involvement.","failureModes":["Empty or missing text field returns a validation error","Non-numeric lines may cause unexpected sort behavior or errors","Text exceeding 100,000 characters is rejected","Payment of exactly $0.009 USDC required; incorrect payment amount results in 402 error","Malformed request body returns 400 error"],"whenToPreferThis":"Choose this endpoint when you need deterministic, fast, server-side numeric sorting of text lines without relying on an LLM or any external network calls. Prefer the free sandbox endpoint POST /v1/sandbox/lines-sort-numeric first; use this paid endpoint only when the sandbox is unavailable or you need production reliability. Best for automating data pipelines where numeric ordering of text output is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:43:51.757Z","isFirstParty":false,"canonicalSlug":"agentshelf-lines-sort-numeric-3b959e52"}