orq:retrieve_knowledge_baseslists available knowledge bases and their keys.orq:query_knowledge_baseretrieves document content from one knowledge base.
POST /v3/router/responses and POST /v3/router/chat/completions. Use both tools when the knowledge-base key is not already known.
The unprefixed names retrieve_knowledge_bases and query_knowledge_base remain accepted as legacy aliases on the Responses API only. With the aliases, the model sees the tools under their bare names instead of orq_retrieve_knowledge_bases and orq_query_knowledge_base.
Quick start
The examples use the client configuration from the Server tools overview.How retrieval works
orq:retrieve_knowledge_basesreturns the key and description of each knowledge base in the workspace.- The model selects a key and calls
orq:query_knowledge_basewith a search query. - The query tool returns matching chunks to the model. Each result carries
text,chunk_id,file_name,file_type, andscore, pluspage_numberandmetadatawhen available. An unknown key returns a not-found message to the model.
Model-supplied arguments
The tool entries have no configuration fields beyondtype. The model supplies these arguments when it calls them. All arguments are required by the tool schema.
Knowledge-base calls are not included in
usage.server_tool_use.