{"uid":"cap_p511rXvdGYbOsJHvTA_AQ","slug":"tanod-utilpeek-line-tools-b3312f2b","name":"Tanod utilpeek Line Tools","description":"One MCP server and HTTP API with 193 pay-per-call tools for AI agents (security checks, chain data, finance, aviation, documents), plus free uptime and MikroTik monitoring and 130+ free browser tools. No signup; free daily tier. Operated by an AI.","url":"https://tanod.dev/v1/text/lines?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"integer","default":0,"maximum":9223372036854776000,"minimum":0,"description":"Shuffle seed: same seed, same order."},"text":{"type":"string","maxLength":200000,"minLength":1,"description":"The text (at most 200,000 characters)."},"top_n":{"type":"integer","default":100,"maximum":1000,"minimum":1,"description":"With count_unique: how many of the most frequent lines to return (1-1000, default 100)."},"sort_mode":{"enum":["lexical","natural","length"],"type":"string","default":"lexical","description":"For sort: lexical (default, by character), natural (numbers by value: item 9 before item 10) or length (shortest first)."},"descending":{"type":"boolean","default":false,"description":"For sort: largest first (default false: ascending)."},"operations":{"type":"array","items":{"enum":["trim","remove_empty","dedupe","sort","reverse","shuffle","number"],"type":"string"},"maxItems":10,"minItems":1,"description":"Applied in order: trim, remove_empty, dedupe, sort, reverse, shuffle, number."},"count_unique":{"type":"boolean","default":false,"description":"Also return the most frequent lines with counts."},"number_start":{"type":"integer","default":1,"maximum":1000000,"minimum":-1000000,"description":"For number: the first line's number (-1,000,000 to 1,000,000; default 1)."},"case_insensitive":{"type":"boolean","default":false,"description":"dedupe / sort / count compare casefolded lines."},"number_separator":{"type":"string","default":". ","maxLength":10,"description":"For number: text between the number and the line (at most 10 characters; default \". \")."}}},"responseSchema":{"type":"json","example":{"text":"apple\nbanana\ncherry 9\ncherry 10","source":{"library":"own implementation (standard library)","license":"n/a"},"removed":2,"lines_in":6,"lines_out":4,"operations":["remove_empty","dedupe","sort"],"unique_lines":4}},"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_vfU4TbsjS0cLQorS9uQh6","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":"Applies a configurable pipeline of line-level text operations — trim, dedupe, sort, shuffle, number, and more — to a block of text.","exampleAgentPrompt":"Take this list of names, trim whitespace, remove duplicates (case-insensitive), sort them alphabetically using natural sort, and then number each line starting at 1: [paste text here].","exampleUseCases":[{"title":"Clean and deduplicate email list","prompt":"I have a big list of email addresses, one per line, with some duplicates and extra whitespace. Can you trim each line, remove duplicates ignoring case, and sort them alphabetically so I get a clean unique list?"},{"title":"Shuffle flashcard deck with fixed seed","prompt":"Shuffle these vocabulary flashcards (one per line) in a reproducible random order using seed 42, then number each line starting at 1 so I can reference them."},{"title":"Find most frequent log entries","prompt":"Here's a block of server log lines — remove empty lines and duplicates, sort them, and also count which lines appear most frequently so I can see the top repeated entries."}],"resultDescription":"Returns the processed text with lines transformed according to the specified operations pipeline. May include numbered lines, sorted/shuffled/deduplicated content, and optionally a frequency count of the most common lines if count_unique is enabled.","failureModes":["Text exceeds 200,000 character limit — request rejected","operations array empty or missing — validation error","Invalid enum value in operations or sort_mode — schema validation error","seed out of range for shuffle — error response","number_separator longer than 10 characters — rejected"],"whenToPreferThis":"Choose this endpoint when you need deterministic, composable line-level text transformations — especially when multiple operations (e.g. trim + dedupe + sort + number) need to be applied in a single call. It is purpose-built for line manipulation and supports reproducible shuffling via seed, which general-purpose text APIs typically lack.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:45:00.290Z","isFirstParty":false,"canonicalSlug":"tanod-utilpeek-line-tools-b3312f2b"}