FnToolProps
@tsed/platform-mcp
Usage
typescript
import { FnToolProps } from "@tsed/platform/platform-mcp/src/fn/defineTool";Overview
ts
type FnToolProps<Input, Output = undefined> = BaseToolProps<Input, Output> & {
name: string;
handler: ToolCallback<Input>;
};name
ts
name: string;handler
ts
handler: ToolCallback<Input>;