Playlist Share
playlist_shareShare one run. Call this only when the person asks to share. Give the run_token of the run, the snapshot the person chose to share, includes_grades as true or false, and expires_at, which is required and must be in the future. Returns share_id and a share link that opens the snapshot with the playlist's text lines, status and source until the share expires or is revoked. A run that is not verified, because its playlist or its school's policy has not been reviewed, is shared with the Unverified label: the answer says so, and so does the share link each time it is opened.
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": {
"run_token": "<run_token>",
"snapshot": "<snapshot>",
"includes_grades": "<includes_grades>",
"expires_at": "<expires_at>"
},
"name": "playlist_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot | Yes | What the person chose to share of the run; stored exactly as given | |
| run_token | Yes | The run_token the run's last answer returned | |
| expires_at | Yes | When the share ends: a UTC timestamp in the future | |
| includes_grades | Yes | Whether the snapshot carries the person's grades |