Skip to content

Commit 5197e7d

Browse files
committed
Fix mcp call
1 parent e3decb9 commit 5197e7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eca/features/mcp.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
(:mcp-clients db)))
104104

105105
(defn call-tool! [^String name ^Map arguments db]
106-
(let [mcp-client (->> (:mcp-clients db)
106+
(let [mcp-client (->> (vals (:mcp-clients db))
107107
(keep (fn [{:keys [client tools]}]
108108
(when (some #(= name (:name %)) tools)
109109
client)))

0 commit comments

Comments
 (0)