From 968c5f2c9df53139729aa5356ad5a802d1c88f37 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sun, 12 Apr 2026 04:18:39 +0100 Subject: Raise &tool-call-parse-failure when required arguments are missing. spec->tool-call promises to raise &tool-call-parse-failure, not &tool-call-failure. --- kaakaa/tools.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kaakaa/tools.scm b/kaakaa/tools.scm index 50c2603..ef5d7ed 100644 --- a/kaakaa/tools.scm +++ b/kaakaa/tools.scm @@ -187,7 +187,7 @@ names that have been respectively allowed and rejected by the user in advance." (else (and (tool-parameter-required? parameter) (raise-exception - (tool-call-failure + (tool-call-parse-failure (string-append "Error: Missing required argument " arg-name)))))))) (tool-parameters tool)) -- cgit 1.4.1