Use the person's own CV or cover letter file for one application
replace_application_documentUse the person's own CV or cover letter file for one application. When the person wants to send their own file ("use my designed CV for this one") instead of the one Job Spotter wrote. Send the file base64-encoded (.pdf or .docx, up to 1 MB; .txt and .md also work). Its text is read into the application for matching and form answers; a PDF or Word file goes to the employer exactly as it is (by email, the application robot and the document links). Only for this application: the saved CV stays as it was (use upload_cv to change that). A later text edit to the same document replaces the file. Gives a new revision: show the person the text read, then apply with that expected_revision. A ready-to-read summary is in say.
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": {
"application_id": "<application_id>",
"kind": "<kind>",
"file_base64": "<file_base64>",
"filename": "<filename>"
},
"name": "replace_application_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Which document to replace. | |
| filename | Yes | File name with its extension, for example "Ana Silva CV.pdf". | |
| file_base64 | Yes | The person's file, base64-encoded. | |
| application_id | Yes | The application id (app_...). |