import_statement
Parse a Toss PDF statement to preview stock BUY/SELL rows, then confirm the plan to store them in a local ledger; blocked or conflicting rows cannot be saved.
Instructions
Import Toss stock BUY/SELL rows from a private inbox PDF statement into the local ledger.
Two steps. 1) file=".pdf": parses it and returns the preview and the import plan (nothing is written); keep preview_id. 2) preview_id plus confirm=true stores the planned rows locally. A blocked plan (parse issues, conflicts, unmatched rows inside API coverage) cannot be confirmed. Never places orders; previews expire after 15 minutes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "import_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| account | No | auto | |
| confirm | No | ||
| preview_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||