إنشاء نص
create-scriptCreate a script for the signed-in user. Give it a title; naming a project is optional, and a script with no project is an ordinary script here rather than a lesser one. The script starts at the user's own default status. Send the platforms it is for in the same call rather than in a second write. Send your own rating out of ten as well — Bardiyah stores the number you send and never works one out itself. After creating the script, always add its sections, and always finish by adding one last section titled exactly \"Viral Score\" with add-script-content (that tool's description carries the required shape). Every script ends with a Viral Score section.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | The script title. Required. | |
| project_id | No | Optional. Which project the script belongs to, taken from a search or a listing. A script with no project is an ordinary script here, not a lesser one, and most of this user's scripts are that shape. Do not guess a project: ask, or leave it out. Left out, the script goes into the user's default project when they have set one, otherwise into no project; the reply names the project it used. | |
| video_type | No | Optional. One of "فيديو طويل" (long form) or "فيديو قصير" (short form). Defaults to the user's default script type, long form unless they chose short. | |
| viral_score | No | Your rating of how likely this script is to spread, from 1 to 10. Stored exactly as sent. There is no zero: a script with no rating simply has none, and sending 0 is refused. | |
| platform_ids | No | Optional. Which platforms the script is for, taken from a listing. Only platforms this user can reach are accepted. | |
| viral_score_reason | No | Short reasoning for the score, so the number is reviewable later. |