Documentation ¶ Index ¶ func Command(input string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Command ¶ func Command(input string) string Command returns the shell command in a tool input of any agent: a string "command" (Claude Code), a "cmd" string, or a command array such as ["bash", "-lc", "<script>"] (Codex), where the script is the command. Types ¶ This section is empty. Source Files ¶ View all Source files command.go Directories ¶ Show internal Expand all Path Synopsis claudecode codex Click to show internal directories. Click to hide internal directories.