find_documents_by_content
Search RSpace documents by content terms using AND/OR operators, with options to exclude terms, sort results, and control page size.
Instructions
Advanced content-based document search
Usage: Find documents containing specific content terms
Parameters:
content_terms: List of terms that should appear in document content
operator: "and" (all terms must appear) or "or" (any term can appear)
exclude_terms: Optional list of terms to exclude from results
order_by: Sort results by field
page_size: Number of results to return
Returns: Dictionary with search results
Example: find_documents_by_content(["DNA", "extraction"], operator="and")
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": {
"content_terms": "<content_terms>"
},
"name": "find_documents_by_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content_terms | Yes | ||
| operator | No | and | |
| exclude_terms | No | ||
| order_by | No | lastModified desc | |
| page_size | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||