Check a run
get_runCheck a MakeViral run started with run_template: its status, minutes left, and the finished video or photo link when it is ready. With wait true the call waits up to 40 seconds for the run to finish, so you can wait for the result in the same answer and then give the user the link.
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": {
"runId": "<runId>"
},
"name": "get_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Wait up to 40 seconds for the run to finish before answering. Default false. | |
| runId | Yes | The run id from run_template, e.g. 'tr_ag...' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes |