document_search
Searches documents by indexed content and metadata filters to return matches for a specified document class and property conditions.
Instructions
PREREQUISITES IN ORDER: To use this tool, you MUST call two other tools first in a specific sequence.
determine_class tool to get the class_name for search_class. The search class must be a document class or a document subclass.
get_searchable_property_descriptions to get a list of valid property_name for search_properties
Description: This tool will execute a request to search for documents based on content and the metadata criteria.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"search_parameters": "<search_parameters>"
},
"name": "document_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | ||
| search_term | No | The words for CBR search. This will be used to search for documents based on their CBR indexed content and metadata If empty string or None, then only search by metadata. | |
| search_parameters | Yes | Complete set of parameters for executing a repository search. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |