{"uid":"cap_14PoLJdVPgCAId7E_za46","slug":"creator-desk-reverse-lines-utility-f127c0c4","name":"Creator Desk Reverse Lines Utility","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/utility/reverse-lines?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{},"options":{"type":"object"}}},"responseSchema":{"type":"json","example":{"result":"example","operation":"reverse_lines"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oVe4LjpLKwxeKyXgFA9My","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reverses the order of lines in a given text value, returning the lines in bottom-to-top order.","exampleAgentPrompt":"Reverse the line order of this text for me: 'First line\nSecond line\nThird line\nFourth line' — I need the lines flipped so the last line comes first.","exampleUseCases":[{"title":"Flip a log file's line order","prompt":"I have a log dump where the oldest entries are at the top and I need them reversed so the newest lines come first — can you flip the line order of this text: '2024-01-01 startup\n2024-01-02 running\n2024-01-03 shutdown'?"},{"title":"Reverse a ranked list of items","prompt":"I've got a ranked list and I want to display it in reverse order, bottom rank first. Please reverse these lines: '1. Gold\n2. Silver\n3. Bronze'."},{"title":"Invert a multi-line poem or verse","prompt":"Take this four-line verse and flip the line order so the last line reads first: 'Roses are red\nViolets are blue\nSugar is sweet\nAnd so are you'."}],"resultDescription":"A JSON object containing a 'result' field with the input text lines reordered in reverse sequence, and an 'operation' field confirming 'reverse_lines'. The reversed text preserves each line's content but inverts their top-to-bottom order.","failureModes":["Empty or null 'value' input may return an error or empty result","Non-string or non-line-delimited input may produce unexpected output","Payment failure (402) if x402 micropayment is not correctly handled","Malformed JSON request body returns a 400-level error","Service unavailability on Render free-tier cold starts may cause timeout"],"whenToPreferThis":"Choose this endpoint when you need a simple, reliable, pay-per-call line-reversal utility within an x402 micropayment workflow — especially useful in autonomous agent pipelines where you want a lightweight, stateless text transformation without spinning up your own processing logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T18:49:44.674Z","isFirstParty":false,"canonicalSlug":"creator-desk-reverse-lines-utility-f127c0c4"}