From 4a357b335f74ae64714800527ac3e95b7057a3ce Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 26 Sep 2026 08:34:55 +0200 Subject: Fix mail counts and finance ranges found testing live - mail printed threads and the model called them emails; it now reports messages and threads. - finance spending takes a since date (default the first of the month) instead of a day count, and an optional asset account. The per-account listing needs an end date or the API rejects it; an unknown account name gets the user's accounts back. - Tool errors are capped at 2000 characters like normal output. Co-Authored-By: Claude Opus 5.5 --- examples/tools/finance.toml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'examples/tools/finance.toml') diff --git a/examples/tools/finance.toml b/examples/tools/finance.toml index b05031c..1cfdc4a 100644 --- a/examples/tools/finance.toml +++ b/examples/tools/finance.toml @@ -1,5 +1,5 @@ description = "The user's money, from Firefly III: account balances, this month's budgets, or recent spending. Read-only." -command = ["finance.sh", "{what}", "{days}"] +command = ["finance.sh", "{what}", "{since}", "{account}"] timeout = 20 announce.it = ["Controllo i conti."] announce.en = ["Checking your accounts."] @@ -8,6 +8,10 @@ announce.en = ["Checking your accounts."] type = "string" description = "balances, budgets or spending" -[params.days] -type = "integer" -description = "For spending: how many days back. Empty for 30." +[params.since] +type = "string" +description = "For spending: first day, YYYY-MM-DD. Empty for the first of this month." + +[params.account] +type = "string" +description = "For spending: only this account, by name as balances lists it. Empty for all accounts." -- cgit v1.2.3