host_run
Run shell commands like ffmpeg or Python in the background for long media jobs and get a job ID immediately. Poll progress with host_job instead of scripting through Premiere.
Instructions
Run a shell command on this computer in the background (ffmpeg, python, a render script...). Returns a job id at once; poll with host_job. Use for long media work instead of hacking .bat files through Premiere. Set "allowHostExec": false in config.json to disable.
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": {
"command": "<command>"
},
"name": "host_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| label | No | ||
| command | Yes |