إضافة قسم للنص
add-script-contentAdd a new section — a titled piece of the script — to the end of a script the signed-in user can edit. Use this to draft or extend a script one section at a time. It only records the text and the rating you provide, in the user's own Bardiyah workspace; it fetches nothing from YouTube, any social platform or any other outside service, and publishes nothing. Send your own rating out of ten to set or revise it as the script grows; Bardiyah stores the number you send and never works one out itself or measures it anywhere. Whenever you finish adding a script's content, always add one final section titled exactly "Viral Score". Its body must follow this exact shape: first line is the rating as "N / 10" (a whole number from 1 to 10) in bold; then a line "ليه السكربت ده قوي فيروسيًا:" followed by 3-5 bullet points on what drives shareability (hook strength, retention, emotional pull, comment-driving call to action, visual potential); then a final line starting with "نقطة الضعف:" in bold giving the single biggest weakness. Write that section in the same Egyptian Arabic dialect as the script, and send the same number as the rating so the stored rating and the section agree. Do this on every script, without being asked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The card body text. Required. Write it in GitHub-flavored Markdown. Separate paragraphs with a BLANK line. Use ## and ### for headings, "1." for ordered lists, "-" for bullets, **bold** and *italic*. Do NOT send raw HTML. Do NOT hand-number list items with Arabic-Indic numerals (١) ٢) ٣)) or with "1)" - write "1." and Bardiyah renders Arabic numerals automatically. Bardiyah converts and sanitizes this to HTML on save. | |
| title | No | Optional card title / section heading. Plain text, no Markdown. | |
| script_id | Yes | Which script to add a section to, taken from a search or a listing. Required. | |
| viral_score | No | Your rating of the script from 1 to 10, given what is written now. Stored exactly as sent; omit it to leave the current score alone. There is no zero — omit the rating instead of sending one. | |
| content_format | No | Format of the body field: "markdown" (default, strongly preferred) or "html". Only send "html" when you are forwarding markup Bardiyah gave you verbatim. | |
| viral_score_reason | No | Short reasoning for the score, so the number is reviewable later. |