Check what sharing a course would show
preview_personal_shareRead-only: the check before share_personal_course. It shows what sharing a course from the person's own library would do, and changes or publishes nothing. privacy is the person's own choice between full lessons ('full') and the course and lesson titles only ('outline'). The answer gives the course name (forThePerson.courseTitle), what anyone with the link would see (wouldShow) and how it is shared now (current); the share is meant to follow the person's yes to exactly that. sharedContent says what anyone with the link sees: full_lessons (the course and every lesson, written for the reader when opened), full_lessons_with_shared_text (also the lesson text the person already shared from the app), titles_only (the course name and lesson titles), ordinary_course_public (an ordinary course: soclever shows it publicly). Chats, progress, notes and quiz answers always stay private. lessonTextKept true: lesson text already shared from the app stays visible (only while it still matches the course; otherwise the share is refused as not_shareable lesson_text_stale). otherChoice says what the other choice would show (null when this course has no other choice). inAppOnly true: this course holds a lesson that only the person can see yet, so share_personal_course refuses it (not_shareable share_in_app) and sharing it currently has to be done in the soclever app; inAppNote says so in plain words. previewToken ties the share to exactly this course and this choice for 5 minutes; share_personal_course accepts it with the same courseRef and privacy. After 5 minutes, or any wait, a fresh preview gives a new token.
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": {
"courseRef": "<courseRef>",
"privacy": "<privacy>"
},
"name": "preview_personal_share"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| privacy | Yes | The person's own choice: 'full' (full lessons) or 'outline' (course and lesson titles only). | |
| courseRef | Yes | The courseRef from create_document_course or list_courses ('personal:…'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |