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.
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 |