postprocess
Trigger Medusa to scan a staging directory and move matched episodes into show folders, clearing files stranded after a failed automatic run. Use the Medusa-container path.
Instructions
Trigger Medusa manual post-processing on a directory.
Scans directory (a download/staging folder) and moves matched
episodes into their show folders. Reuses Medusa credentials from
MEDUSA_URL / MEDUSA_API_KEY. Use this to clear files stranded in
staging after a failed auto-post-process (e.g. a mis-named release
that the download handler bailed on).
IMPORTANT: directory is interpreted by MEDUSA CORE, so it must be
the path as seen inside the Medusa container (e.g. /data/medusa),
NOT the path visible from the Hermes container.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "postprocess"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | No | Medusa-container path to scan (default /data/medusa). | /data/medusa |
| process_type | No | 'auto' (guess), 'manual' (use names), 'failed'. | auto |
| force_replace | No | Overwrite existing episode files. | |
| process_method | No | 'copy' or 'move'. | copy |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||