Current section
Files
Jump to
Current section
Files
lib/anthropic/messages/content/bash_code_execution_tool_result.ex
defmodule Anthropic.Messages.Content.BashCodeExecutionToolResult do
@moduledoc """
The result of a `bash` server-tool call. `content` is the raw decoded JSON payload (a
stdout/stderr/return-code map, or an error map) — not deeply typed; see the [bash tool
docs](https://platform.claude.com/docs/en/agents-and-tools/tool-use/bash-tool) for its
shape.
"""
defstruct [:tool_use_id, :content]
@type t :: %__MODULE__{tool_use_id: String.t(), content: map()}
end