MCPcopy Create free account
hub / github.com/Xyntopia/taskyon / Tool

Interface Tool

src/modules/tools.ts:45–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45export interface Tool {
46 state: () => Promise<toolStateType> | toolStateType;
47 // Description of what the function does (optional).
48 description: string;
49 longDescription?: string;
50 // The name of the function to be called.
51 name: string;
52 // The parameters the function accepts (JSON Schema object).
53 parameters: JSONSchemaForFunctionParameter;
54}
55
56export interface ExtendedTool extends Tool {
57 // eslint-disable-next-line @typescript-eslint/no-explicit-any

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected