History

Keep system tools out of tool registry

Rhys Sullivan committed 9 months ago

Commit 66dd1541 parent d6f7cb81 file · +8 −13Browse files

Unified · Split

executor/packages/convex/runtime/workspace_tools.ts+8−13
@@ -101,19 +101,14 @@ baseTools.set("discover", { · 100 unmodified lines
101101 "Search available tools by keyword. Returns preferred path aliases, signature hints, and ready-to-copy call examples. Compact mode is enabled by default.",
102102 typing: {
103103 inputSchema: {
104− anyOf: [
105− { type: "string" },
106− {
107− type: "object",
108− properties: {
109− query: { type: "string" },
110− depth: { type: "number" },
111− limit: { type: "number" },
112− compact: { type: "boolean" },
113− },
114− required: ["query"],
115− },
116− ],
104+ type: "object",
105+ properties: {
106+ query: { type: "string" },
107+ depth: { type: "number" },
108+ limit: { type: "number" },
109+ compact: { type: "boolean" },
110+ },
111+ required: ["query"],
117112 },
118113 outputSchema: {
119114 type: "object",