Tell soclever a file is uploaded
complete_course_fileTells soclever the upload to the address from prepare_course_file is finished. soclever then reads the file, which can take a few minutes, so the answer is usually state reading; get_document_course_status shows progress. If get_document_course_status later shows resendToContinue for this step, the same request (same requestId, same arguments) continues it.
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": {
"requestId": "<requestId>",
"draftId": "<draftId>",
"sourceId": "<sourceId>"
},
"name": "complete_course_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draftId | Yes | The draftId start_document_course returned (or list_drafts shows). | |
| sourceId | Yes | The sourceId prepare_course_file returned. | |
| requestId | Yes | A random UUID, not derived from names, dates or any other content, that identifies one intended action. A retry of that same action uses the same UUID with identical arguments and returns that action's result; each new action has a new UUID. A UUID already used with different arguments is refused (request_conflict); one used for an earlier action returns that earlier result. | |
| destination | No | Where the course goes: 'personal' (the person's own soclever library, the default) or 'teaching' (a teacher's classes). | personal |
| interfaceLanguage | No | The person's language for soclever's own words: 'en' or 'he'. | en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |