flex_analyze_dividends
Summarize dividend income and withholding taxes from Interactive Brokers Flex XML, returning gross dividends, withheld tax, net dividends, and per-symbol details.
Instructions
Summarize dividend income and withholding taxes from cash transactions.
Args: xml_content: Raw Flex XML string.
Returns JSON with total gross dividends, total withholding tax, net dividends, and a per-symbol breakdown.
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": {
"xml_content": "<xml_content>"
},
"name": "flex_analyze_dividends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml_content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |