id: String

The unique ID of the local shell call.

action: Action{ command, env, type, 3 more}

Execute a shell command on the server.

command: Array[String]

The command to run.

env: Hash[Symbol, String]

Environment variables to set for the command.

type: :exec

The type of the local shell action. Always exec.

timeout_ms: Integer

Optional timeout in milliseconds for the command.

user: String

Optional user to run the command as.

working_directory: String

Optional working directory to run the command in.

call_id: String

The unique ID of the local shell tool call generated by the model.

status: :in_progress | :completed | :incomplete

The status of the local shell call.

One of the following:
:in_progress
:completed
:incomplete
type: :local_shell_call

The type of the local shell call. Always local_shell_call.

agent: Agent{ agent_name}

The agent that produced this item.

agent_name: String

The canonical name of the agent that produced this item.