Tool Grounding and Enrichment of Transaction Drafts
Tool use in the pipeline
This model makes tool/API usage natural.
The draft can call tools to resolve uncertainty.
Example:
User: "Whole Foods 42 yesterday on Chase"Pipeline:
Extract:
- merchant candidate: Whole Foods
- amount: 42
- date: yesterday
- account phrase: Chase
Use tools:
- account lookup: Chase → acc_chase_sapphire
- merchant memory: Whole Foods → groceries
- duplicate check: no duplicate
Validate:
- amount valid
- date valid
- account belongs to user
- category exists
Result:
- ready_for_confirmationThe model is:
The LLM proposes.
Tools ground.
Backend validates.
User confirms.
Executor writes.Related: Draft patches and field provenance · Action policy, readiness, and execution gates.
Original text: 02-pipeline.md.