{"uid":"cap_wKdA_zwakVVlB-3enxp_Q","slug":"one-engine-deterministic-text-segmentation-return-last-words-param-2-b550d228","name":"ONE Engine Deterministic Text Segmentation – Return Last Words (param=2, tier=7)","description":"Deterministic text segmentation utility: Return last words; parameter=2. Tier 7/10 provides progressively richer diagnostics.","url":"https://one-search.one-engine.workers.dev/v11/text-segment/tail-words/p2/t7?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0027","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.0027/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0027","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0027","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tdijZwqk6a0pLTsNgVoP9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0027","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 words from a text input with tier-7 diagnostic enrichment, returning a deterministic segmented tail slice.","exampleAgentPrompt":"Take this sentence — 'The quick brown fox jumped over the lazy dog' — and extract just the last 2 words using the deterministic word-tail segmentation endpoint with tier-7 diagnostics.","exampleUseCases":[{"title":"Extract trailing words from log entries","prompt":"I have a bunch of log lines like 'ERROR 2024-01-15 connection timeout' — can you pull the last 2 words from each one deterministically so I can categorize the error types?"},{"title":"Parse last words of user-generated captions","prompt":"Take this caption — 'Beautiful sunset over the Golden Gate Bridge' — and give me just the last 2 words, with the full diagnostic breakdown."},{"title":"Tail-word extraction for NLP pipeline","prompt":"For my preprocessing step, I need to extract the last 2 words from the sentence 'Machine learning models require careful tuning' — use the deterministic segmentation utility and show me the tier-7 diagnostics."}],"resultDescription":"Returns the last 2 words extracted from the input text, along with tier-7 progressive diagnostics that include richer segmentation metadata such as character offsets, word boundaries, and processing details about the extraction.","failureModes":["Empty or missing input text returns an error or empty result","Input with fewer than 2 words may return all available words or an error","Malformed POST body (non-string input) causes a 400-level error","Payment failure via x402 returns a 402 Payment Required response","Network timeouts on the workers.dev edge may cause transient 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need a cheap, deterministic, pay-per-call utility to reliably extract the last 2 words from a text string and want richer tier-7 diagnostic metadata alongside the result. Ideal for autonomous agent pipelines that need lightweight, reproducible text tail extraction without spinning up a full NLP service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T06:35:50.574Z","isFirstParty":false,"canonicalSlug":"one-engine-deterministic-text-segmentation-return-last-words-param-2-b550d228"}