{"uid":"cap_2s32Y-IqJ83ASjnDn1yqr","slug":"agent-hub-sentiment-tone-classifier-5311d179","name":"Agent Hub Sentiment & Tone Classifier","description":"Sentiment and tone classification for text (positive / negative / neutral with confidence, plus a one-line reason). Batch up to 20 texts per call. Also callable as GET with the same fields as query parameters.","url":"https://agents.torbrooknews.com/v1/sentiment?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["texts"],"properties":{"texts":{"type":"string","description":"1 to 20 texts; separate items with |"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_sxUu_j_T3iysZniNK9iVE","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":"Classifies text as positive, negative, or neutral with a confidence score and one-line reason; supports batches of up to 20 texts per call.","exampleAgentPrompt":"Can you run a sentiment check on these three customer reviews and tell me whether each one is positive, negative, or neutral with a confidence score and a quick reason: 'Love this product!|Shipping was very slow and packaging was damaged|It works fine I guess'?","exampleUseCases":[{"title":"Customer review sentiment triage","prompt":"I have five customer reviews I need classified — tell me whether each is positive, negative, or neutral with a confidence score and a one-line reason: 'Amazing quality!|Completely broke after one day|Decent but pricey|Best purchase ever|Meh, nothing special'."},{"title":"Social media brand monitoring","prompt":"Can you analyze the sentiment of these three tweets about our brand and give me a confidence score and reason for each? 'Can't believe how fast the support team responded!|Their app crashed twice today, totally unreliable|Just okay, nothing that wowed me'."},{"title":"Content moderation tone screening","prompt":"Before I publish these two user-submitted comments, can you classify the tone of each as positive, negative, or neutral and flag any that seem strongly negative with a reason? 'Great article, very insightful|This is garbage and whoever wrote it is clueless'."}],"resultDescription":"Returns per-text sentiment classification (positive, negative, or neutral), a confidence score (0–1), and a one-line natural language reason explaining the classification — one result object per input text, up to 20 results per call.","failureModes":["More than 20 texts submitted in one call — request rejected or truncated","Pipe delimiter missing between texts — treated as a single text","Empty or whitespace-only text input — may return low-confidence neutral result","Non-text content (e.g. binary data or URLs only) — unpredictable classification","Payment not attached or insufficient — 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need fast, lightweight sentiment and tone classification with a human-readable reason, especially for batches of up to 20 texts in a single call. It is ideal for content moderation pipelines, customer feedback triage, or social monitoring workflows where confidence scores and brief explanations matter. Prefer it over heavier NLP APIs when you want a simple positive/negative/neutral label with reasoning rather than deep emotion or entity analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:40:42.060Z","isFirstParty":false,"canonicalSlug":"agent-hub-sentiment-tone-classifier-5311d179"}