sync_start
Start live-syncing changes from a local host directory to a sandbox directory. Performs an initial full sync and continuously polls for updates every second, automatically ignoring .git, node_modules, and other common directories.
Instructions
Start watching a local host directory and live-syncing changes into the sandbox. Does an initial full sync, then polls for changes every second. Ignores .git, node_modules, pycache, .venv, .DS_Store.
Args: local_dir: Absolute path on the host to watch. sandbox_dir: Destination directory in the sandbox (default: /workspace). sandbox: Named sandbox to sync to (default "default")
Returns: Sync job ID and initial sync stats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_dir | Yes | ||
| sandbox_dir | No | /workspace | |
| sandbox | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |