summaryrefslogtreecommitdiffstats
path: root/examples/tools/mail.toml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-26 08:24:02 +0200
committerDanilo M. <danix@danix.xyz>2026-09-26 08:24:02 +0200
commit3b6f56f93c829a741df4ded189a4b8c98ce7fdff (patch)
tree1c947731ed3704bdf60d6660f21d10c6ae8b157f /examples/tools/mail.toml
parentb1816ed443d715d0c706a40fd202d595d4a11926 (diff)
downloaddesktop-assistant-3b6f56f93c829a741df4ded189a4b8c98ce7fdff.tar.gz
desktop-assistant-3b6f56f93c829a741df4ded189a4b8c98ce7fdff.zip
Add calc, mail, playing and finance example tools
All read-only: each command is fixed in its tool file, so the model fills parameters but can never reach mailctl tag or firefly tx add. qalc reads "17.5% of 240" as a modulo, so the calc hint shows percent as a factor. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'examples/tools/mail.toml')
-rw-r--r--examples/tools/mail.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/tools/mail.toml b/examples/tools/mail.toml
new file mode 100644
index 0000000..2f1a9d8
--- /dev/null
+++ b/examples/tools/mail.toml
@@ -0,0 +1,9 @@
+description = "The user's email: how many unread messages and who they are from. Read-only."
+command = ["mail.sh", "{query}"]
+timeout = 15
+announce.it = ["Controllo la posta."]
+announce.en = ["Checking your mail."]
+
+[params.query]
+type = "string"
+description = "notmuch query, e.g. from:amazon or subject:invoice and date:7d.. Empty for unread mail in the inbox."