Skip to content

FnToolProps

@tsed/platform-mcp

Usage

typescript
import { FnToolProps } from "@tsed/platform/platform-mcp/src/fn/defineTool";

See /packages/platform/platform-mcp/src/fn/defineTool.ts.

Overview

ts
type FnToolProps<Input, Output = undefined> = BaseToolProps<Input, Output> & {
    name: string;
    handler: ToolCallback<Input>;
};

name

ts
name: string;

handler

ts
handler: ToolCallback<Input>;

Released under the MIT License.