knowledge_base_ids in the invoke() request, these tools are automatically registered in the Agent’s toolset.
search_knowledge_base
The Agent proactively searches the knowledge base for relevant information. Supports parallel retrieval across multiple knowledge bases with adjustable retrieval weights.string
required
Search query (natural language)
string
Specific knowledge base ID. If not specified, searches all configured knowledge bases
number
default:"5"
Number of results to return
number
default:"0.6"
Vector search weight (0-1)
number
default:"0.4"
Keyword search weight (0-1)
boolean
default:"true"
Whether to use RRF reranking. When disabled, returns vector search results directly (faster)
Agent Call Examples
parse_resource_file
Parses files uploaded by the user in the Resource panel. Supports all document formats and images (via Vision API).string
required
Resource file ID
boolean
default:"true"
Whether to use Vision API to recognize image content
number
default:"5000"
Maximum returned text length