Playlist Review
playlist_reviewRecord a review of one saved playlist or one saved school policy. Give playlist_id or policy_id, one and not both, with reviewer (a name), reviewer_type (human, school or ai_verifier) and decision (confirm or reject). note is optional. The review sets the row's trust_state and never its status: a school's confirm sets school_confirmed; a human's or an AI verifier's confirm sets ai_verified and records the reviewer in verified_by; a reject sets rejected. A confirm of a playlist that was already ai_verified counts as a correct result in the weekly audit, and a human's reject of one as a wrong result. A reviewer may not confirm a row it built (its built_by). A run drops the Unverified label only when its playlist and its school policy are both ai_verified or school_confirmed. Returns the review's id and the row's status and trust_state.
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": {
"reviewer": "<reviewer>",
"reviewer_type": "<reviewer_type>",
"decision": "<decision>"
},
"name": "playlist_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional: what the reviewer wants kept with the decision | |
| decision | Yes | ||
| reviewer | Yes | Who reviewed it: a name | |
| policy_id | No | The school policy to review; give this or playlist_id, not both | |
| playlist_id | No | The playlist to review; give this or policy_id, not both | |
| reviewer_type | Yes | Who the reviewer is: a person, the school, or an AI verifier |