get_dividends
Fetch dividend payments per share for a ticker and calculate the trailing-12-month total, using optional start and end dates to analyze distributions over a chosen period.
Instructions
Dividend payments per share for a ticker, plus a trailing-12-month total.
Amounts are per share as Yahoo reports them; this can be the fund's
distribution currency rather than the listing's trading currency (e.g. a
USD-distributing ETF listed in GBP), so check before computing a yield.
Args:
ticker: Yahoo symbol.
start_date: YYYY-MM-DD. Defaults to 2020-01-01.
end_date: YYYY-MM-DD (exclusive).
Returns:
`dividends` by date in the range with their `total` and `count`, plus
`trailing_12m_total` and `payments_last_12m`; or an error dict.
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_dividends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| end_date | No | ||
| start_date | No | 2020-01-01 |