Documentation
preview_commit
preview_commit MCP tool reference, parameters, return type, and safety hints.
What it does
Previews commit in the local Clovis ledger.
(as_of?: string | null) => Record<string, unknown>Read-only. This is appropriate for inspection, reporting, diagnostics, and first-pass agent answers.
When to use it
Use this section to decide whether the tool fits the user request before calling it.
Before calling
Agents should gather these facts or confirmations first.
No required inputs are needed, but date, status, asset, and account filters should still be explicit when the user cares about scope.
Parameters
Required inputs are marked clearly. Optional inputs can usually be omitted unless the workflow needs them.
as_ofoptionalDate to calculate balances through, usually YYYY-MM-DD.
Default: nullAgent call shape
Use the exact tool name and pass arguments as structured JSON through the MCP client.
preview_commit
Copy this shape into agent instructions, evals, or MCP client tests.
{
"tool": "preview_commit",
"arguments": {}
}