mux_act
Get a video into Mux. Each call makes a new upload or asset (never retried, no deduplication): Mux bills storage and delivery per video.
op:
create_upload— a direct upload address. The answer'sdata.urltakes the video file in ONE HTTP PUT, with no credential (the address is the authorisation), from wherever the file is: e.g.curl -X PUT --upload-file film.mp4 -H "Content-Type: video/mp4" "<url>". The file never passes through this tool. Thenmuxop='get_ingest' gives theasset_id, and op='get_asset' says when it isready. The address expires aftertimeoutseconds (60 to 604800, default 3600).create_asset— a video from a file Mux fetches itself atinput_url(https, public or pre-signed). The answer'sdata.idis the asset.
Playback is public unless playback_policy="signed" (a signed playback
needs tokens this connector does not make). test=true makes a free
10-second watermarked video, deleted after a day: for trying the flow.
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": {
"op": "<op>"
},
"name": "mux_act"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | What to make (see above). | |
| _org | No | Org (id) de CET APPEL. `oto_list_orgs()`. | |
| test | No | Make a free 10-second test video instead of a real one. | |
| title | No | The video's title, shown in the Mux dashboard. | |
| _group | No | Équipe (id) de CET APPEL, sous son org parente. | |
| _run_id | No | OBLIGATOIRE à chaque appel dès `run_start` ou `data_claim_next` : sans lui, l'écriture sur une ligne réservée est refusée. Hérité seulement si le serveur tient un run actif — n'y compte pas. | |
| timeout | No | `create_upload` only: seconds before an unused address expires, 60 to 604800. | |
| _project | No | Projet (id) de CET APPEL — jeton PRIMAIRE. `oto_project(op='list')`. | |
| _instance | No | Instance de connecteur PRÉCISE (un credential exact). `oto_instance(op='list')`. | |
| input_url | No | The https address of the file, for `create_asset`. | |
| cors_origin | No | `create_upload` only: the origin allowed to PUT from a browser, or `*`. | |
| passthrough | No | Up to 255 characters of your own, returned on the asset, e.g. to recognise it later. | |
| video_quality | No | `basic`, `plus` or `premium`, billed differently; Mux's default when omitted. | |
| playback_policy | No | `public` (default) or `signed`. | |
| max_resolution_tier | No | Highest resolution stored and streamed: `1080p`, `1440p` or `2160p`. |