| 43 | } |
| 44 | |
| 45 | export 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 | |
| 56 | export interface ExtendedTool extends Tool { |
| 57 | // eslint-disable-next-line @typescript-eslint/no-explicit-any |
nothing calls this directly
no outgoing calls
no test coverage detected