list_funds
List a user's investment fund holdings from a chosen bank, including quota details and gross/net amounts, using Open Finance Brasil data.
Instructions
Lists a user's investment fund positions via Open Finance Brasil Fase 4 (P1.3), including quota quantity/price and gross/net amount.
Args: subject_id: User's CPF. bank: Participating bank. ctx: MCP request context, providing access to shared adapters.
Returns: The user's investment funds and aggregate totals.
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": {
"subject_id": "<subject_id>",
"bank": "<bank>"
},
"name": "list_funds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| subject_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| funds | No | ||
| summary | Yes | ||
| total_records | Yes |