{"uid":"cap_KEQ05PBRgba4vSrs_yvd3","slug":"one-engine-deterministic-text-segmentation-last-lines-param-2-tier-6-bc0e8ea3","name":"ONE Engine Deterministic Text Segmentation – Last Lines (param=2, tier 6)","description":"Deterministic text segmentation utility: Return last lines; parameter=2. Tier 6/10 provides progressively richer diagnostics.","url":"https://one-search.one-engine.workers.dev/v12/text-segment/tail-lines/p2/t6?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"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_zb4Ls1Wd17GPOxFVJ3p0e","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":"Extracts the last 2 lines from a given text input and returns them with tier-6 diagnostic enrichment.","exampleAgentPrompt":"Can you pull the last 2 lines from this text block and give me the result with tier-6 diagnostics: 'Line one here. Line two here. Line three here. Line four here.'?","exampleUseCases":[{"title":"Extract log file tail for triage","prompt":"I have a long server log and I need to quickly see the last 2 lines — can you extract just the tail of this text so I can check for error messages?"},{"title":"Grab closing lines of generated content","prompt":"I just generated a multi-paragraph report and I only want the final 2 lines to use as a summary closing — can you pull just those last lines from the text?"},{"title":"Validate end-of-document output","prompt":"Here's the output from a data pipeline run — can you extract the last 2 lines and give me the diagnostic details so I can verify it ended correctly?"}],"resultDescription":"Returns the last 2 lines extracted from the submitted text, along with tier-6 diagnostic metadata that provides progressively richer information about the segmentation operation (e.g. line indices, character counts, processing confidence, or other enriched debug fields).","failureModes":["Empty input text returns no lines or an error","Text with fewer than 2 lines may return only available lines","Malformed POST body may result in a 400 bad request","Payment not included or insufficient USDC triggers 402 Payment Required","Tier or parameter mismatch if wrong endpoint variant called"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, cheap, auditable way to extract exactly the last 2 lines from a text string, especially when tier-6 diagnostic context is useful for debugging or pipeline validation. It is ideal for autonomous agents that need a lightweight, pay-per-call tail-extraction utility without spinning up a full NLP pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T00:30:44.076Z","isFirstParty":false,"canonicalSlug":"one-engine-deterministic-text-segmentation-last-lines-param-2-tier-6-bc0e8ea3"}