{"uid":"cap_ckr5mDAE2eRVAoPGGCKun","slug":"agentshelf-lines-take-5-transform-39810324","name":"AgentShelf Lines Take-5 Transform","description":"Call when an agent needs lines of text transformed with take-5. No network. Send JSON {\"text\":\"b\\na\\n\"}. Exact $0.002 USDC on Base. Try unpaid POST /v1/sandbox/lines-take-5 first.","url":"https://agentshelf.syntexa.ch/v1/lines-take-5?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.002","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.002/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_g-lkR4xwh99fyBCvOqMLc","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":"Transforms lines of text by applying the 'take-5' operation — selecting or processing every 5th line — locally without network calls.","exampleAgentPrompt":"Take this block of text and apply take-5 line sampling to it — I want every 5th line extracted from the full content.","exampleUseCases":[{"title":"Downsampling log file lines","prompt":"I have a huge server log and I only need every 5th line to get a representative sample — can you run the take-5 transform on this text for me?"},{"title":"Thinning dataset rows for preview","prompt":"This plain-text dataset is too long to review in full. Apply take-5 line selection so I only see every fifth row to get a quick overview."},{"title":"Evenly spaced poetry or lyric extraction","prompt":"I have a poem with 50 stanzas — pull out every 5th line from the full text so I can see a spaced-out excerpt."}],"resultDescription":"Returns the input text transformed by the take-5 operation — a subset of the original lines selected at every 5th interval, as a text response.","failureModes":["Input text exceeds 100,000 character limit — request rejected","Empty or missing text field — validation error","Payment of exactly $0.002 USDC not provided — 402 Payment Required","Malformed request body — 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need a deterministic, fast, no-network line sampling at a fixed interval of 5 on a text input, and you are willing to pay $0.002 USDC per call. Prefer the free sandbox endpoint /v1/sandbox/lines-take-5 first for testing. Choose this over general-purpose text tools when you specifically need take-5 line selection without LLM involvement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:53:02.600Z","isFirstParty":false,"canonicalSlug":"agentshelf-lines-take-5-transform-39810324"}