get_tap_ledger
Return a tap’s ledger of discovered documents—URI, filename, status, hashes, and first/last-seen timestamps—so re-runs skip unchanged files. Clear one URI or all entries to force reprocessing or a full rescan.
Instructions
For a document tap: return the ledger of discovered documents (URI, filename, status, hashes, first/last seen timestamps). The ledger is what tells the platform which documents have already been processed so re-runs skip unchanged files. Pass 'clear_uri' to delete one entry (forces that document to be re-processed on the next run) or 'clear_all=true' to wipe the entire ledger (forces a full re-scan).
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": {
"name": "<name>"
},
"name": "get_tap_ledger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the document tap | |
| clear_all | No | Optional. If true, deletes the entire ledger for this tap, forcing every document to be re-processed on the next run. | |
| clear_uri | No | Optional. If set, deletes the ledger entry for this URI so the document is re-processed on the next run. |