{"uid":"cap_Q0slxJ4fnNzEPNJtS3NKx","slug":"pennyrail-text-remove-empty-lines-dfe5ae19","name":"PennyRail Text Remove Empty Lines","description":"Machine-readable settlement service","url":"https://pennyrail.vercel.app/api/f/text.remove-empty-lines","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"string","description":"string or string[]"}}},"responseSchema":{"type":"object","required":["operation","result"],"properties":{"result":{},"operation":{"type":"string"}},"additionalProperties":true},"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_E7wATYz-yUmNhFG6QdGxz","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":"Removes all empty lines from a given string or array of strings, returning the cleaned text","exampleAgentPrompt":"Clean up this text block by removing all the empty lines from it: 'Hello\n\nWorld\n\nThis is a test\n\n'","exampleUseCases":[{"title":"Compact code output for display","prompt":"I've got this code snippet that has a ton of blank lines scattered through it — can you strip out all the empty lines so it looks clean and compact?"},{"title":"Clean scraped web content","prompt":"I scraped some text from a webpage and it's full of blank lines between paragraphs — remove all the empty lines so I can process it more easily."},{"title":"Normalize log file entries","prompt":"Here's a block of log output with lots of blank lines between entries: can you filter out all the empty lines and give me just the actual content?"}],"resultDescription":"Returns a JSON object with an 'operation' field naming the transformation performed and a 'result' field containing the processed string (or array of strings) with all empty lines removed.","failureModes":["Missing 'input' field returns a validation error","Non-string and non-array input may cause unexpected behavior","Payment failure via x402 protocol results in 402 status before processing","Very large strings may hit undocumented size limits"],"whenToPreferThis":"Use this endpoint when you need a lightweight, pay-per-call text cleaning operation specifically for removing empty lines, without spinning up your own string-processing logic. It is ideal for pipelines where you want a simple, stateless transformation at minimal cost ($0.001 USDC per call) and do not want to host your own utility microservice.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:50:46.774Z","isFirstParty":false}