Skip to content

Search knowledge base

  • Type kb.search
  • Group AI
  • Role action
  • Risk acts outside MZBase
  • Side effect safe to repeat
  • Runs once per item
  • Needs ai

Finds the passages closest to a query

Also available to AI agents and over MCP as a tool.

kbId

Knowledge base · string · required

query

Query parameters · string · required

Query string parameters, added to the URL.

topK

Results · integer · optional · default 5 · range 1 – 50

minScore

Minimum score · number · optional · range 0 – 1

filter

Filter · json · optional

output

Output · string · optional · default items · one of items, field

into

Into field · string · optional

Shown when output is field.

  • main

← All nodes