Playlist Build Requests
playlist_build_requestsThe Queue's build requests, held in the playlist store and written only here. Answered only to main KSAserver's own key: the requests hold the emails of learners who asked for their result by email; any other caller is refused. action list (the default) answers the requests, the newest first, with an optional limit. action get, with request_id, answers one. action open, with request (the request to write) and open_statuses, writes it unless a request for the same key (a policy rebuild: its school; a checklist build: its checklist) has one of those statuses, in which case the optional learner joins that request; started says which. action requeue, with request_id, open_statuses and set, sets those fields on the request unless another request for the same key has one of those statuses; queued says which, with the reason. action set, with request_id and set, sets those fields. action carry_over, with source and requests, carries main's old request file over once; without requests it answers whether the carry-over was made.
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": "playlist_build_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | With requeue or set: the fields to set | |
| limit | No | Optional, with list: how many requests to answer; absent, all | |
| action | No | list (the default), get, open, requeue, set or carry_over | |
| source | No | With carry_over and requests: where the requests were held | |
| learner | No | Optional, with open: the learner who joins an open request | |
| request | No | With open: the request to write | |
| requests | No | Optional, with carry_over: the requests to carry over | |
| request_id | No | With get, requeue or set: the request | |
| open_statuses | No | With open or requeue: the statuses of a request still building |