get_sentiment
Return the most recent FinBERT-scored news headlines for ticker.
Each headline has a `sentiment_score` in [-1, +1] (positive_prob -
negative_prob), a categorical `sentiment_label`, and a `source_kind`
(news / reddit / stocktwits / x / youtube). Costs 1 API credit per 25
headlines actually returned — same billing as GET /v1/sentiment/{ticker}.
An empty result costs nothing.
`limit` is capped at 100. Social posts are kept separate from news:
the default `sources="news"` returns editorial news, `"social"` returns
only Reddit, StockTwits and X posts, and `"all"` returns both, labelled
by `source_kind`. Titles come back reverse-chronological so the first
item is the freshest.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ticker": "<ticker>"
},
"name": "get_sentiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| ticker | Yes | ||
| sources | No | news |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||