API reference · schema
AgentAction
4 fields · used by 0 operations
Last reviewed 2026-10-11
Fields
| Field | Type | Meaning |
|---|---|---|
kind required | string | 'shell' or 'write_file' max length 32 |
command | string or null | max length 16384 |
path | string or null | max length 1024 |
content | string or null | max length 32768 |
Smallest valid example
{
"kind": "kind"
}JSON Schema
Show the raw definition
{
"properties": {
"kind": {
"type": "string",
"maxLength": 32,
"title": "Kind",
"description": "'shell' or 'write_file'"
},
"command": {
"anyOf": [
{
"type": "string",
"maxLength": 16384
},
{
"type": "null"
}
],
"title": "Command"
},
"path": {
"anyOf": [
{
"type": "string",
"maxLength": 1024
},
{
"type": "null"
}
],
"title": "Path"
},
"content": {
"anyOf": [
{
"type": "string",
"maxLength": 32768
},
{
"type": "null"
}
],
"title": "Content"
}
},
"type": "object",
"required": [
"kind"
],
"title": "AgentAction"
}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