core_command
Execute any rclone command remotely and retrieve its output, with support for streaming and async execution.
Instructions
Run an rclone command — Executes a standard rclone CLI command remotely and streams or returns its output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arg | No | Optional positional arguments for the command. Repeat to supply multiple values. | |
| opt | No | Optional command options encoded as a JSON string. | |
| _async | No | Run the command asynchronously. Returns a job id immediately. | |
| _group | No | Assign the request to a custom stats group. | |
| command | No | Name of the rclone command to execute, for example `ls` or `lsf`. | |
| returnType | No | Controls how output is returned; accepts `COMBINED_OUTPUT`, `STREAM`, `STREAM_ONLY_STDOUT`, or `STREAM_ONLY_STDERR`. |