Import essays from files
import_essays_from_filesSplits teacher-supplied PDFs or Word stacks into one essay per student, including AP Classroom 'FRQ Response PDFs, By Student Page Break' exports. Photos support one essay per image and are read by Fiveable. Accepts up to three ChatGPT attached uploads of 25 MB each, or up to three base64 files totaling about 3 MB. Returns counts and warnings only. Long PDFs can take up to a minute.
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": {
"sessionId": "<sessionId>",
"files": "<files>",
"uploads": "<uploads>"
},
"name": "import_essays_from_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| uploads | Yes | Files the teacher attached in ChatGPT, passed by reference. | |
| sessionId | Yes | Grading session id from list_grading_sessions or create_grading_session. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Readable tool result text for clients that consume structured output. | |
| status | Yes | Operation status: completed, pending, partial, failed, unavailable, or a domain-specific outcome. |