Get Segment Data
get_segment_dataRevenue (or another metric) broken down by business segment, product line, or geography — parsed from the latest 10-K's XBRL instance (companyfacts carries no segment dimensions).
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_segment_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metric | No | Metric key, e.g. revenue (default revenue) | revenue |
| ticker | Yes | Stock ticker, e.g. AAPL | |
| periods | No | Annual periods (default 3, max 5) |