list_investments
Retrieve fixed-income investments (CDB, LCI, LCA, RDB) for a user's CPF at a selected bank, showing gross/net amounts, contracted rate, and indexer via Open Finance Brasil.
Instructions
Lists a user's bank fixed-income investments (CDB, LCI, LCA, RDB) via Open Finance Brasil Fase 4, including gross amount, net amount, contracted rate, and indexer.
Args: subject_id: User's CPF. bank: Participating bank. ctx: MCP request context, providing access to shared adapters.
Returns: The user's fixed-income investments 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_investments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| subject_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank | Yes | ||
| summary | Yes | ||
| investments | No | ||
| total_records | Yes |