Interface: BaseTool<Input>
Simple Tool interface. Likely to change.
Type parameters
• Input = any
Properties
call()?
This could be undefined if the implementation is not provided, which might be the case when communicating with a llm.
Parameters
• input: Input
Returns
JSONValue
| Promise
<JSONValue
>
Source
packages/llamaindex/src/types.ts:67
metadata
metadata:
Input
extendsKnown
?ToolMetadata
<JSONSchemaType
<Input
<Input
>>> :ToolMetadata
<Record
<string
,unknown
>>