get_credit_ratings
Get credit rating history for an NZX company. Shows S&P, Moody's, Fitch, AM Best ratings with upgrades, downgrades, and outlook changes. ~20 NZX companies have credit ratings.
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_credit_ratings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year or range (e.g. "2024" or "2020-2024") | |
| limit | No | Max results | |
| action | No | Filter by action: affirmed, upgraded, downgraded, assigned, withdrawn | |
| agency | No | Filter by agency: "S&P", "Moody's", "Fitch", "AM Best" | |
| ticker | Yes | NZX ticker symbol (e.g. "ANZ", "MEL", "SPK") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The tool payload. Null when the call did not produce one — read meta.availability_status to find out why, and do not treat null as zero, empty or "none found". | |
| meta | Yes | ||
| tool | Yes | Tool that produced this result. | |
| schema_version | Yes | Envelope contract version. Bumps only on a breaking shape change. |