7 lines
374 B
TypeScript
7 lines
374 B
TypeScript
import { BetaToolResultContentBlockParam, BetaToolUnion } from "../../resources/beta.mjs";
|
|
export type Promisable<T> = T | Promise<T>;
|
|
export type BetaRunnableTool<Input = any> = BetaToolUnion & {
|
|
run: (args: Input) => Promisable<string | Array<BetaToolResultContentBlockParam>>;
|
|
parse: (content: unknown) => Input;
|
|
};
|
|
//# sourceMappingURL=BetaRunnableTool.d.mts.map
|