Commit 9b84acf

mo khan <mo@mokhan.ca>
2025-08-14 17:25:56
fix: remove nested parameters
Before: ```json "parameters": { "parameters": { "type": "object", // ... } } ``` After: ```json "parameters": { "type": "object", // ... } ```
1 parent 520fa9d
Changed files (1)
lib
elelem
lib/elelem/tool.rb
@@ -36,13 +36,11 @@ module Elelem
     def initialize(configuration)
       @tui = configuration.tui
       super("bash", "Execute a shell command.", {
-        parameters: {
-          type: "object",
-          properties: {
-            command: { type: "string" }
-          },
-          required: ["command"]
-        }
+        type: "object",
+        properties: {
+          command: { type: "string" }
+        },
+        required: ["command"]
       })
     end