struct AI::OpenAI::Tools::LocalShell

Overview

Local Shell tool.

Allows agents to run shell commands locally on a machine. Supported models: gpt-5-codex, codex-mini-latest.

Defined in:

ai/openai/tool/openai_tools.cr

Constant Summary

ID = "openai.local_shell"
NAME = "local_shell"

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def args : Hash(String, JSON::Any) #

[View source]
def id : String #

[View source]
def name : String #

[View source]
def type : String #

[View source]