get_fund_portfolio
Fetch holdings for FIF/FIAGRO, FII, or FIDC funds by name or CNPJ, returning portfolio components and BRL values with optional period and block filters.
Instructions
Holdings of any fund, routed to the right dataset.
FIF/FIAGRO: CDA portfolio (asset, issuer, quantity, market value, cost).
FII: balance-sheet composition (properties, CRI, FII quotas, cash...).
FIDC: credit portfolio by segment (industrial, real estate, payroll...).
The output is long-form: one row per component, with its value in BRL.
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": {
"fund": "<fund>"
},
"name": "get_fund_portfolio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fund | Yes | Fund name (partial) or class CNPJ. | |
| block | No | FI only: '1'..'8' for one CDA block, 'all' for every block. | all |
| period | No | Month (YYYY-MM). Default: latest available. | |
| max_rows | No | Maximum rows. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |