{"uid":"cap_8bVFbzJIslWa6S379KxRz","slug":"sort-lines-text-tool-x402-d1d765f7","name":"Sort Lines Text Tool (x402)","description":"Sort newline-separated text alphabetically or numerically without calling an upstream model. Pay up to $0.001 per request with x402 USDC on Base. Public paid calls are limited to 1500 input characters and 128 output tokens.","url":"https://gpt55.558686.xyz/v1/tools/sort-lines","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","additionalProperties":true},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string","maxLength":50000,"minLength":1},"numeric":{"type":"boolean"},"descending":{"type":"boolean"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"fetchedAt":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1BJBfb8bkKl-X27l3LLPk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","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 alphabetically or numerically, in ascending or descending order, via a pay-per-call x402 USDC micro-payment API.","exampleAgentPrompt":"Sort these lines alphabetically in ascending order: 'Banana\nApple\nCherry\nDate' — pay per call with USDC.","exampleUseCases":null,"resultDescription":"Returns a JSON object with ok (boolean), tool name ('sortLines'), and the sorted text output, plus a fetchedAt timestamp. Cost is $0.0001 USDC per call via x402 on Base.","failureModes":["Missing required 'text' query parameter returns validation error","Text exceeding 50,000 characters rejected","Payment failure or insufficient USDC balance causes 402 response","Invalid boolean values for 'numeric' or 'descending' params cause bad request","Service unavailability on third-party gateway host"],"whenToPreferThis":"Use this endpoint when you need a simple, cheap, stateless line-sorting operation paid per-call with USDC on Base via x402, without requiring a subscription or API key management. Best for agents already integrated with x402 micro-payment flows needing a quick text sorting utility.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:46:12.933Z","isFirstParty":false}