Parse a consolidated account statement
parse_casParse a CAS PDF to reveal actual mutual fund holdings, equities, and bonds across brokers. Detects CAMS/KFintech or NSDL/CDSL type and reads locally with no upload.
Instructions
Parse a consolidated account statement PDF. Handles both kinds: a CAMS/KFintech registrar statement (mutual funds, with full transaction history) and an NSDL/CDSL depository statement (every demat account across every broker — equities, bonds and funds — as a holdings snapshot with no transactions). The kind is detected from the file. This is the only way to see what the investor ACTUALLY holds in mutual funds: the INDstocks API covers equity, F&O and currency but not mutual funds, and AMFI publishes only NAVs, never anybody's units. The PDF is read from local disk and parsed in process — it is never uploaded anywhere. Statements are usually password protected.
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": {
"filePath": "<filePath>"
},
"name": "parse_cas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the CAS PDF on this machine | |
| password | No | PDF password. Case sensitive; often the PAN in uppercase. | |
| includeTransactions | No | Include every transaction. Large — leave off unless the history is the question. |