feat: migrate openai-video provider into tools plugin

This commit is contained in:
openclaw committed 2026-10-16 05:43:31 +00:00
1 parent 42ef37f10a
commit 720f48844d
13 files changed
+1306 -38

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import { Type, type Static } from "typebox";
export declare const EchoInputSchema: Type.TObject<{
input: Type.TString;
}>;
export type EchoInput = Static<typeof EchoInputSchema>;
export declare const echoTool: {
name: string;
label: string;
description: string;
parameters: Type.TObject<{
input: Type.TString;
}>;
execute: ({ input }: EchoInput) => Promise<{
input: string;
}>;
};
+11
View File
@@ -0,0 +1,11 @@
import { Type } from "typebox";
export const EchoInputSchema = Type.Object({
input: Type.String({ description: "Text to echo." }),
});
export const echoTool = {
name: "echo",
label: "Echo",
description: "Echo input text.",
parameters: EchoInputSchema,
execute: async ({ input }) => ({ input }),
};