12 lines
322 B
JavaScript
12 lines
322 B
JavaScript
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 }),
|
|
};
|