Skip to content

InvokeAgentRuntimeCommandRequestBodyDict

Dictionary Type

InvokeAgentRuntimeCommandRequestBodyDict

Bases: TypedDict

Dictionary form of InvokeAgentRuntimeCommandRequestBody.

Attributes

command instance-attribute
command: Required[str]

The shell command to execute on the agent runtime. This command is executed in the runtime environment and its output is streamed back to the caller.

timeout instance-attribute
timeout: int | None

The maximum duration in seconds to wait for the command to complete. If the command execution exceeds this timeout, it will be terminated. Default is 300 seconds. Minimum is 1 second. Maximum is 3600 seconds.