build: compile TypeScript to dist and add .gitignore

This commit is contained in:
openclaw committed 2026-10-13 05:49:31 +00:00
1 parent bb367eb952
commit 89e80f7c82
4 files changed
+25 -2

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import { Type } from "typebox";
import { defineToolPlugin } from "openclaw/plugin-sdk/tool-plugin";
export default defineToolPlugin({
id: "tools",
name: "Tools",
description: "Add Tools tools to OpenClaw.",
tools: (tool) => [
tool({
name: "echo",
description: "Echo input text.",
parameters: Type.Object({
input: Type.String({ description: "Text to echo." }),
}),
execute: async ({ input }) => ({ input }),
}),
],
});