Playlist Run
playlist_runPlay a person's held courses through a checklist's stored playlist and get their progress line by line. Checklists are read from captured HTML or from an anchored PDF page range. Give checklist_id and held, the whole list each time. Every held course is landed in one call: a course taken at the playlist's school lands as itself, a course from another school lands as the receiving course the school's known transfer rules name, a course with no known mapping is unresolved, and a failing or withdrawn grade (F, U, NC, NP, W) does not land. An answer that is not done carries continue: send continue back unchanged, with the same checklist_id and held, until the answer says done. Each line takes landed courses until its target (its courses or credits) is reached, in this order: course and one_of lines, choose lines, slot and area lines, the major elective, then open electives. The last call's answer gives the summary, every line with its state (met, partial, open, uncertain or not_a_course), its target, what was assigned and every held course placed on it, credit_short where a course meets a line on its code with fewer credits, the credits applied (each placed course once, by what it landed as), the step timings and the steps (the rule lookup, landing and settlement, each with its outcome, count and ms), what the person still needs, what did not count and why, the playlist's id, status and source, and a run_token. If no active, validated playlist is held for the checklist, the answer says so and names playlist_open as the next call; a run is never made against the harvested checklist. If the playlist, or the school policy it rests on, is rejected, nothing is run either: the answer says which of the two was rejected and names the call that rebuilds it. Pass first_run true when the playlist was assembled in this same conversation, immediately before the run. The person's courses are never stored: they come in each call and go back in continue, which you keep. Only the run's line states, counts and timings are recorded, after the answer. Every answer carries trust: the run's trust state, the weaker of the playlist's and its school policy's, with who built the playlist and when, who verified or confirmed it and when, its catalog edition, and one sentence. Always tell the person the trust statement. A run whose trust state is below ai_verified says Unverified. mapped_from says what the answer is from: playlist, with its playlist_id and trust state, or harvested_checklist where no playlist is held and nothing was run.
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": {
"checklist_id": "<checklist_id>",
"held": "<held>"
},
"name": "playlist_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| held | Yes | The courses the person holds, as many as there are, the whole list on every call, in the form checklist_map accepts: each { unitid or school, code, title, credits, grade, term }. An empty list runs the checklist with no courses or exams: one call, every line that asks for a course is open, and the answer says what is still needed | |
| continue | No | From the previous answer: its continue, sent back unchanged. Leave it out on the first call | |
| first_run | No | First call only: true when the playlist was assembled in this same conversation, immediately before the run; otherwise the run is recorded as a hit | |
| checklist_id | Yes | The checklist, by its checklist_id from an earlier answer |