Triage — Pending imports
triage_pending_importsFind YNAB-imported card holds that never posted as real charges, so you can review and delete stale pending authorizations inflating account balances.
Instructions
[READ] Card authorisations YNAB imported that never became real charges. A merchant's hold — a fuel pump, a hotel, a rideshare — arrives through direct import as a transaction with an import_id starting 'YNAB:P:'. When the real charge posts, usually at a different amount, it comes in as its own transaction and the hold is left behind: uncleared, permanent, and counted in the card's balance. Four of them were inflating one card by about $79 on the plan this was written for. triage_unmatched_manual cannot find these — it looks for entries with no import_id, and these have one. account_id narrows it to one account. older_than_days is how long a hold must have sat (default 7). since_date bounds how far back to read (default 6 months). Check each against the statement before deleting: a hold whose charge did post appears twice, and only the hold should go. Costs two requests.
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": "triage_pending_imports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | No | ||
| account_id | No | ||
| since_date | No | ||
| older_than_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||