Index Resume / JD for Search & Match
index_documentIndex a resume or job description into RChilli's Search & Match engine.
RChilli's Index endpoint accepts a resume or job description along with the index type, document ID, and indexing options, processes the document content, and stores it against the configured index key in the Search & Match engine.
Once indexed, the document can be searched, matched, updated, and reused across downstream recruitment workflows without re-processing it for every query.
Args: filedata: Original Base64-encoded resume or JD file. Use instead of document_text. filename: Original file name including extension. Required for Base64 input. indextype: Document index type - Resume or JD. documentid: Required unique document ID used for indexing. userkey: RChilli user key. Leave blank to use the authenticated session key. subuserid: Optional sub-user identifier for multi-tenant indexing. index_detail_text: Enable free-text search on the indexed document. commit: Commit the indexing operation. check_duplicate: Check for duplicate documents before indexing. duplicate_fields: Fields used for duplicate checking. Defaults to ['id']. update_duplicate: Update the existing document when a duplicate is found. use_v4: Use the Search & Match v4 endpoint when supported. document_text: Plain-text resume or JD content. Use instead of filedata. The server automatically converts it to Base64.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "index_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commit | No | ||
| use_v4 | No | ||
| filedata | No | ||
| filename | No | ||
| indextype | No | Resume | |
| subuserid | No | ||
| documentid | No | ||
| document_text | No | ||
| check_duplicate | No | ||
| duplicate_fields | No | ||
| update_duplicate | No | ||
| index_detail_text | No |