Adding Tavily custom tool (#4027)

Adding Tavily custom tool
This commit is contained in:
Thanos Kontokostas
2025-02-25 23:31:17 +02:00
committed by GitHub
parent 3290798d4b
commit 229366968a
3 changed files with 68 additions and 0 deletions
@@ -0,0 +1,25 @@
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 }