Skip to content

QueryEngineTool

Defined in: .build/typescript/packages/llamaindex/src/tools/QueryEngineTool.ts:31

new QueryEngineTool(__namedParameters): QueryEngineTool

Defined in: .build/typescript/packages/llamaindex/src/tools/QueryEngineTool.ts:36

QueryEngineToolParams

QueryEngineTool

metadata: ToolMetadata<JSONSchemaType<QueryEngineParam>>

Defined in: .build/typescript/packages/llamaindex/src/tools/QueryEngineTool.ts:33

BaseTool.metadata


includeSourceNodes: boolean

Defined in: .build/typescript/packages/llamaindex/src/tools/QueryEngineTool.ts:34

call(__namedParameters): Promise<JSONValue>

Defined in: .build/typescript/packages/llamaindex/src/tools/QueryEngineTool.ts:50

This could be undefined if the implementation is not provided, which might be the case when communicating with a llm.

QueryEngineParam

Promise<JSONValue>

The output of the tool.

BaseTool.call