actual_check_receipt_exists
Checks whether a receipt already exists in PocketBase using source_hash, source_ref, or tx_id, enabling read-only deduplication before adding financial records.
Instructions
[READ-ONLY] Check whether a receipt already exists in PocketBase by source_hash, source_ref, or tx_id (fast O(1) local SQLite check).
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": "actual_check_receipt_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| tx_id | No | Transaction ID | |
| source_ref | No | Source reference | |
| active_only | No | Exclude ignored receipts | |
| source_hash | No | SHA-256 hash |