{"uid":"cap_Ty0U6EtgE_58b_hXFN-5S","slug":"agentshelf-lines-drop-hash-7425bce3","name":"AgentShelf Lines Drop-Hash","description":"Call when an agent needs lines of text transformed with drop-hash. No network. Send JSON {\"text\":\"b\\na\\n\"}. Exact $0.001 USDC on Base. Try unpaid POST /v1/sandbox/lines-drop-hash first.","url":"https://agentshelf.syntexa.ch/v1/lines-drop-hash?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.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_7bH4wURkn37PUNjbdKDkm","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":"Transforms multi-line text by dropping lines that contain a hash character (#), returning only the non-commented lines","exampleAgentPrompt":"Take this text and remove all lines that contain a hash character — I just want the uncommented lines back: '# config start\\nhost=localhost\\n# port setting\\nport=8080'","exampleUseCases":[{"title":"Clean config file before parsing","prompt":"I have this config snippet with a bunch of comment lines starting with # — can you strip all those out and give me just the actual settings? Here it is: '# database settings\\nhost=db.example.com\\n# credentials below\\nuser=admin\\npassword=secret'"},{"title":"Strip bash script comments","prompt":"Take this bash script and remove all the comment lines so I just have the executable code: '#!/bin/bash\\n# This sets up the environment\\nexport PATH=/usr/local/bin\\n# Run the app\\n./app.sh'"},{"title":"Filter annotated word list","prompt":"I've got a word list where some lines are annotated with # marks — can you drop all those annotated lines and return just the clean words? Here's the list: 'apple\\n# tropical fruits below\\nbanana\\nmango\\n# common fruits\\ngrape'"}],"resultDescription":"The filtered text with all lines containing a hash character (#) removed, returning only the clean non-commented lines as a string","failureModes":["Empty string input returns validation error (minLength: 1)","Input exceeding 100,000 characters returns a length validation error","Payment of exactly $0.001 USDC required; incorrect payment amount results in 402 response","Network or service unavailability returns 5xx errors"],"whenToPreferThis":"Use this endpoint when you need a deterministic, serverless transformation to strip hash-commented lines from text — configuration files, scripts, annotated lists — without any LLM or network dependency. Prefer the free sandbox endpoint POST /v1/sandbox/lines-drop-hash first for testing; use this paid endpoint for production workloads where reliability and a paid SLA matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:53:25.902Z","isFirstParty":false,"canonicalSlug":"agentshelf-lines-drop-hash-7425bce3"}