footnote

v0.2.0
com.brick-byte/footnote Checked 2 days ago Published 28 days ago

Every number in an AI answer traces back to the rows that produced it.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

getOverdueInvoices Overdue invoices for a customer

Returns every invoice for one customer that is past its due date and not fully paid, as of a given date, with the outstanding total. Aggregation is done in SQL. Use this for any question about what a customer owes.

ParameterTypeDescription
asOfDate *stringEvaluate overdue status as of this date.
customer *stringCustomer name or numeric ID. Must resolve to a real customer.

getCustomerSummary Customer master data and balance

Returns master data for one customer plus their total open balance and open ticket count. Use this for "tell me about customer X" questions.

ParameterTypeDescription
customer *stringCustomer name or numeric ID.

getPaymentHistory Payments received from a customer

Returns payments received from one customer since a given date, with the total. Use this for questions about whether or when a customer has paid.

ParameterTypeDescription
customer *stringCustomer name or numeric ID.
sinceDate *stringOnly include payments received on or after this date.

getOpenTickets Open support tickets for a customer

Returns unresolved support tickets for one customer. Use this when assessing account risk or when a question asks why a customer might be unhappy or withholding payment.

ParameterTypeDescription
customer *stringCustomer name or numeric ID.

getReceivablesAging Receivables aging across all customers

Returns the aging profile of all outstanding receivables as of a date, bucketed by days overdue. Use this for portfolio-level questions rather than single-customer ones.

ParameterTypeDescription
asOfDate *stringEvaluate aging as of this date.

verifyProvenanceChain Verify the provenance chain

Re-derives every hash in the provenance log and reports whether the trail has been modified since it was written. Returns the first inconsistency found, if any.