run_background_sync
Orchestrate scan, reconciliation, drift detection, and Todoist batch preview as a single auditable background run. Records run and logs steps; continues on failure.
Instructions
Run the finance pipeline as one auditable background run.
Orchestrates: scan charge candidates, reconcile transactions, detect drift, and preview the Todoist review batch (dry run). Records a run record plus an ordered operation-event log. A failing step is logged and the run continues (partial_success). Returns the run id, trace id, status, and step summaries.
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": {
"as_of_date": "<as_of_date>"
},
"name": "run_background_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of_date | Yes | ||
| options | No | ||
| run_type | No | daily_sync | |
| trigger_type | No | manual | |
| db_path | No |