TT Uni Course Media
tt_uni_course_mediaGive a course its cover image or promo video from a FILE (for a file already online, use tt_uni_update_course cover_url / cover_video_url). WRITES: start reserves an upload link and changes nothing on the course yet; complete attaches the file, replacing the current cover or promo video. Two steps: - action=start: course_id, kind = cover (JPG/PNG/WebP up to 5 MB, at least 640 x 360, cropped to 16:9 at 1280 x 720) or cover_video (MP4/WebM up to 50 MB, plays at the top of the course page), filename, size_bytes, rights_confirmed=true (the teacher owns or may use the file). Returns upload_url, headers and upload_token. PUT the file to upload_url with exactly those headers (one request; the link lasts 30 minutes). - action=complete: course_id + upload_token. Tradetron checks the file as a Studio upload is checked and attaches it. On a teacher's approved course it waits for Tradetron's approval (pending_review). Needs a sandbox that can make HTTP requests; otherwise the teacher uploads it in Studio.
TT Uni is Tradetron's course marketplace (tradetron.tech/learn). These tools act as the signed-in user and work only for approved TT Uni teachers; anyone else is pointed to https://tradetron.tech/learn/teach. DRAFTS ONLY: nothing is published until the TT Uni review team approves the course. TT Uni teaching rules: no tips or buy/sell calls; no promised returns and no P&L screenshots as proof; any market data shown must be at least 30 days old; disclose any paid strategy of your own that the course mentions. Prices are in INR and exclude GST (18% is added at checkout); the teacher earns 50% of the price. AUTH-REQUIRED.
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": {
"action": "<action>",
"course_id": "<course_id>"
},
"name": "tt_uni_course_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | start: cover | cover_video | |
| action | Yes | start | complete | |
| filename | No | start: the file's name, with its extension | |
| course_id | Yes | ||
| size_bytes | No | start: the file's exact size in bytes | |
| upload_token | No | complete: from start | |
| rights_confirmed | No | start: true once the teacher confirms they may use the file |