Run a Spoofzy workflow
spoofzy_run_workflowRun saved cloud workflows on local files, saved library originals, or text scripts, then save the results.
Instructions
Run a saved Spoofzy Cloud workflow on local files, on a saved original from the Spoofzy library (saved_original_id) or on a script (text, for voice workflows), then save the results. Uses the account's allowance: confirm with the user first. Needs a Cloud key with 'Run saved workflows' (plus 'Read workflows and history' to find the current version).
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": {
"workflow_id": "<workflow_id>"
},
"name": "spoofzy_run_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | One file path; same as files: [path]. | |
| text | No | Script for workflows that take text. | |
| files | No | Absolute paths of local images/videos, or folders (every supported file directly inside). Up to 20 files per call. Supported: JPG, PNG, WebP, HEIC, GIF, MP4, MOV, M4V and WebM. | |
| version | No | Workflow version (default: the current version). | |
| download | No | Save the results locally (default true). False returns temporary result links instead. | |
| output_dir | No | Folder for the results (created if needed). Default: a spoofzy-output folder next to each source file, or the configured SPOOFZY_OUTPUT_DIR. | |
| request_id | No | Only to retry a call whose outcome was uncertain: pass the request_id it returned and Spoofzy returns the same runs instead of charging again. Leave empty for new runs. | |
| workflow_id | Yes | A workflow id (wa_…). | |
| wait_seconds | No | Seconds to wait for processing before returning (default from SPOOFZY_WAIT_SECONDS, normally 50). Unfinished runs keep processing and are saved when ready while this server runs; check them with spoofzy_get_run. | |
| saved_original_id | No | Id from spoofzy_list_saved_originals. |