> ## Documentation Index
> Fetch the complete documentation index at: https://docs.promptjuggler.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Knowledge Search Node

> Query a knowledge base from within a workflow.

Performs a semantic search against a [knowledge base](/concepts/knowledge-bases) using the input as a query. Returns the most relevant chunks.

Two settings to configure:

* **Top K** – how many chunks to return
* **Format** – `text` (plain concatenated results) or `json` (structured with metadata)

This is the workflow-level equivalent of the [KB Search tool](/tools/knowledge-search). The difference: a tool lets the model decide when to search, while this node searches at a fixed point in the pipeline. Use the node when you always want context, the tool when the model should judge.
