Files
Flowise/packages/components/credentials/TavilyApi.credential.ts
T
Thanos Kontokostas 229366968a Adding Tavily custom tool (#4027)
Adding Tavily custom tool
2025-02-25 21:31:17 +00:00

26 lines
645 B
TypeScript

import { INodeParams, INodeCredential } from '../src/Interface'
class TavilyApi implements INodeCredential {
label: string
name: string
version: number
description: string
inputs: INodeParams[]
constructor() {
this.label = 'Tavily API'
this.name = 'tavilyApi'
this.version = 1.0
this.description = 'Tavily API is a real-time API to access Google search results'
this.inputs = [
{
label: 'Tavily Api Key',
name: 'tavilyApiKey',
type: 'password'
}
]
}
}
module.exports = { credClass: TavilyApi }