--- name: agentuity-cli-cloud-sandbox-files description: List files in a sandbox directory. Requires authentication. Use for Agentuity cloud platform operations version: "0.1.2" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" argument-hint: " [path]" metadata: command: "agentuity cloud sandbox files" tags: "slow requires-auth" --- # Cloud Sandbox Files List files in a sandbox directory ## Prerequisites - Authenticated with `agentuity auth login` - Organization context required (`--org-id` or default org) ## Usage ```bash agentuity cloud sandbox files [path] [options] ``` ## Arguments | Argument | Type | Required | Description | |----------|------|----------|-------------| | `` | string | Yes | - | | `` | string | No | - | ## Options | Option | Type | Required | Default | Description | |--------|------|----------|---------|-------------| | `--long` | boolean | No | `false` | Use long listing format with permissions and timestamps | ## Examples List files in the sandbox root directory: ```bash bunx @agentuity/cli cloud sandbox files sbx_abc123 ``` List files in a specific directory: ```bash bunx @agentuity/cli cloud sandbox files sbx_abc123 /path/to/dir ``` List files with permissions and modification time: ```bash bunx @agentuity/cli cloud sandbox files sbx_abc123 -l ``` List files with JSON output: ```bash bunx @agentuity/cli cloud sandbox files sbx_abc123 --json ``` ## Output Returns JSON object: ```json { "files": "array", "total": "number" } ``` | Field | Type | Description | |-------|------|-------------| | `files` | array | - | | `total` | number | - |