Class: Aws::BedrockAgentCore::Types::ToolResultStructuredContent

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb

Overview

Contains structured content from a tool result.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#execution_timeFloat

The execution time of the tool operation in milliseconds.

Returns:

  • (Float)


2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2876

class ToolResultStructuredContent < Struct.new(
  :task_id,
  :task_status,
  :stdout,
  :stderr,
  :exit_code,
  :execution_time)
  SENSITIVE = []
  include Aws::Structure
end

#exit_codeInteger

The exit code from the tool execution.

Returns:

  • (Integer)


2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2876

class ToolResultStructuredContent < Struct.new(
  :task_id,
  :task_status,
  :stdout,
  :stderr,
  :exit_code,
  :execution_time)
  SENSITIVE = []
  include Aws::Structure
end

#stderrString

The standard error output from the tool execution.

Returns:

  • (String)


2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2876

class ToolResultStructuredContent < Struct.new(
  :task_id,
  :task_status,
  :stdout,
  :stderr,
  :exit_code,
  :execution_time)
  SENSITIVE = []
  include Aws::Structure
end

#stdoutString

The standard output from the tool execution.

Returns:

  • (String)


2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2876

class ToolResultStructuredContent < Struct.new(
  :task_id,
  :task_status,
  :stdout,
  :stderr,
  :exit_code,
  :execution_time)
  SENSITIVE = []
  include Aws::Structure
end

#task_idString

The identifier of the task that produced the result.

Returns:

  • (String)


2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2876

class ToolResultStructuredContent < Struct.new(
  :task_id,
  :task_status,
  :stdout,
  :stderr,
  :exit_code,
  :execution_time)
  SENSITIVE = []
  include Aws::Structure
end

#task_statusString

The status of the task that produced the result.

Returns:

  • (String)


2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
# File 'gems/aws-sdk-bedrockagentcore/lib/aws-sdk-bedrockagentcore/types.rb', line 2876

class ToolResultStructuredContent < Struct.new(
  :task_id,
  :task_status,
  :stdout,
  :stderr,
  :exit_code,
  :execution_time)
  SENSITIVE = []
  include Aws::Structure
end