API reference · schema
OpenShellExecuteRequest
5 fields · used by 0 operations
Last reviewed 2026-10-03
Fields
| Field | Type | Meaning |
|---|---|---|
agent_id required | string | |
command_argv required | array of string | |
timeout_sec | integer or null | default 10 |
cwd | string or null | default "/tmp" |
additional_env | map of string to string or null |
Smallest valid example
{
"agent_id": "agent-id",
"command_argv": [
"command-argv"
],
"timeout_sec": 10,
"cwd": "/tmp"
}JSON Schema
Show the raw definition
{
"properties": {
"agent_id": {
"type": "string",
"title": "Agent Id"
},
"command_argv": {
"items": {
"type": "string"
},
"type": "array",
"title": "Command Argv"
},
"timeout_sec": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Timeout Sec",
"default": 10
},
"cwd": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cwd",
"default": "/tmp"
},
"additional_env": {
"anyOf": [
{
"additionalProperties": {
"type": "string"
},
"type": "object"
},
{
"type": "null"
}
],
"title": "Additional Env"
}
},
"type": "object",
"required": [
"agent_id",
"command_argv"
],
"title": "OpenShellExecuteRequest"
}Try CAIN-42 on your own agents
Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.
Create a free account → · Try the sandbox · See the whole ecosystem