agentuity-cli-cloud-sandbox-exec
Execute a command in a running sandbox. Requires authentication. Use for Agentuity cloud platform operations
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Cloud Sandbox Exec
Execute a command in a running sandbox
Prerequisites
- Authenticated with
agentuity auth login - Organization context required (
--org-idor default org)
Usage
agentuity cloud sandbox exec <sandboxId> <command...> [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<sandboxId> |
string | Yes | - |
<command...> |
array | Yes | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--timeout |
string | Yes | - | Execution timeout (e.g., "5m", "1h") |
--timestamps |
boolean | No | false |
Include timestamps in output (default: false) |
Examples
Execute a command in a sandbox:
bunx @agentuity/cli cloud sandbox exec abc123 -- echo "hello"
Execute with timeout:
bunx @agentuity/cli cloud sandbox exec abc123 --timeout 5m -- bun run build
Output
Returns JSON object:
{
"executionId": "string",
"status": "string",
"exitCode": "number",
"durationMs": "number",
"output": "string"
}
| Field | Type | Description |
|---|---|---|
executionId |
string | Unique execution identifier |
status |
string | Execution status |
exitCode |
number | Exit code (if completed) |
durationMs |
number | Duration in milliseconds (if completed) |
output |
string | Combined stdout/stderr output |
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!