Class: WikipediaTool
Simple Tool interface. Likely to change.
Implements
Constructors
constructor
• new WikipediaTool(params?
): WikipediaTool
Parameters
Name | Type |
---|---|
params? | WikipediaToolParams |
Returns
Defined in
packages/core/src/tools/WikipediaTool.ts:32
Properties
DEFAULT_LANG
• Private
Readonly
DEFAULT_LANG: "en"
Defined in
packages/core/src/tools/WikipediaTool.ts:29
metadata
• metadata: ToolMetadata
Implementation of
Defined in
packages/core/src/tools/WikipediaTool.ts:30
Methods
call
▸ call(«destructured»
): Promise
<string
>