agentuity-cli-cloud-sandbox-exec
Execute a command in a running sandbox. Requires authentication. Use for Agentuity cloud platform operations
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
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 |
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!