aws-sdk-bedrockagentcore 1.43.0 → 1.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcore/client.rb +38 -1
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +17 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +68 -1
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +9 -1
- data/sig/types.rbs +15 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f9de1ccc9248e23e9a5a234acfe8645f0da287c56a0b7015570b6ca28b5b2551
|
|
4
|
+
data.tar.gz: 0c0748b2ffeb9056f0fb9388b47c0661f9075ddf254b68405838d5c965d7f454
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d821592e61bab1f17e5c64c7eeb41358f4d7e28ef580225dccc1df8dfa2ba83ab3ffcb8f7453fb22e978442f04a257174171d7a14dfbe696264ec1be870cf639
|
|
7
|
+
data.tar.gz: ddb5ee83dfc589c84598b625826b71b8a323d662a130de8e05b1a83b2dd91890c57b2a8535e3f35109b9b41406120d6286f013202c6c84f9da0a9e0134f38a96
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.44.0 (2026-07-20)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Add W3C trace context headers (traceparent, tracestate, baggage) and X-Amzn-Trace-Id to InvokeHarness request for end-to-end observability propagation. Add toolResultMetadata to the streaming content block delta for MCP tool result meta delivery without oversized SSE frames.
|
|
8
|
+
|
|
4
9
|
1.43.0 (2026-07-09)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.44.0
|
|
@@ -2657,6 +2657,20 @@ module Aws::BedrockAgentCore
|
|
|
2657
2657
|
# @option params [String] :mcp_protocol_version
|
|
2658
2658
|
# The version of the MCP protocol being used.
|
|
2659
2659
|
#
|
|
2660
|
+
# @option params [String] :mcp_method
|
|
2661
|
+
# The MCP method being invoked. For example, `tools/call`,
|
|
2662
|
+
# `resources/read`, or `prompts/get`.
|
|
2663
|
+
#
|
|
2664
|
+
# @option params [String] :mcp_name
|
|
2665
|
+
# The name of the MCP resource, tool, or prompt being accessed. The
|
|
2666
|
+
# value depends on the method:
|
|
2667
|
+
#
|
|
2668
|
+
# * `tools/call` – The tool name.
|
|
2669
|
+
#
|
|
2670
|
+
# * `resources/read` – The resource URI.
|
|
2671
|
+
#
|
|
2672
|
+
# * `prompts/get` – The prompt name.
|
|
2673
|
+
#
|
|
2660
2674
|
# @option params [String] :runtime_user_id
|
|
2661
2675
|
# The identifier of the runtime user.
|
|
2662
2676
|
#
|
|
@@ -2715,6 +2729,8 @@ module Aws::BedrockAgentCore
|
|
|
2715
2729
|
# mcp_session_id: "StringType",
|
|
2716
2730
|
# runtime_session_id: "SessionType",
|
|
2717
2731
|
# mcp_protocol_version: "StringType",
|
|
2732
|
+
# mcp_method: "StringType",
|
|
2733
|
+
# mcp_name: "StringType",
|
|
2718
2734
|
# runtime_user_id: "StringType",
|
|
2719
2735
|
# trace_id: "InvokeAgentRuntimeRequestTraceIdString",
|
|
2720
2736
|
# trace_parent: "InvokeAgentRuntimeRequestTraceParentString",
|
|
@@ -3515,6 +3531,20 @@ module Aws::BedrockAgentCore
|
|
|
3515
3531
|
# An identifier for the end user making the request. This value is
|
|
3516
3532
|
# passed through to the runtime container.
|
|
3517
3533
|
#
|
|
3534
|
+
# @option params [String] :trace_parent
|
|
3535
|
+
# W3C trace context parent header containing version, trace ID, parent
|
|
3536
|
+
# span ID, and trace flags.
|
|
3537
|
+
#
|
|
3538
|
+
# @option params [String] :trace_state
|
|
3539
|
+
# W3C trace context state header for vendor-specific trace information.
|
|
3540
|
+
#
|
|
3541
|
+
# @option params [String] :trace_id
|
|
3542
|
+
# Trace ID for maintaining observability through the operation.
|
|
3543
|
+
#
|
|
3544
|
+
# @option params [String] :baggage
|
|
3545
|
+
# W3C Baggage header for user-defined context propagation. Format:
|
|
3546
|
+
# key1=value1,key2=value2
|
|
3547
|
+
#
|
|
3518
3548
|
# @option params [required, Array<Types::HarnessMessage>] :messages
|
|
3519
3549
|
# The messages to send to the agent.
|
|
3520
3550
|
#
|
|
@@ -3726,6 +3756,10 @@ module Aws::BedrockAgentCore
|
|
|
3726
3756
|
# qualifier: "HarnessEndpointName",
|
|
3727
3757
|
# runtime_session_id: "InvokeHarnessRequestRuntimeSessionIdString", # required
|
|
3728
3758
|
# runtime_user_id: "String",
|
|
3759
|
+
# trace_parent: "InvokeHarnessRequestTraceParentString",
|
|
3760
|
+
# trace_state: "InvokeHarnessRequestTraceStateString",
|
|
3761
|
+
# trace_id: "InvokeHarnessRequestTraceIdString",
|
|
3762
|
+
# baggage: "InvokeHarnessRequestBaggageString",
|
|
3729
3763
|
# messages: [ # required
|
|
3730
3764
|
# {
|
|
3731
3765
|
# role: "user", # required, accepts user, assistant
|
|
@@ -3790,6 +3824,8 @@ module Aws::BedrockAgentCore
|
|
|
3790
3824
|
# temperature: 1.0,
|
|
3791
3825
|
# top_p: 1.0,
|
|
3792
3826
|
# top_k: 1,
|
|
3827
|
+
# additional_params: {
|
|
3828
|
+
# },
|
|
3793
3829
|
# },
|
|
3794
3830
|
# lite_llm_model_config: {
|
|
3795
3831
|
# model_id: "ModelId", # required
|
|
@@ -3903,6 +3939,7 @@ module Aws::BedrockAgentCore
|
|
|
3903
3939
|
# event.delta.reasoning_content.text #=> String
|
|
3904
3940
|
# event.delta.reasoning_content.redacted_content #=> String
|
|
3905
3941
|
# event.delta.reasoning_content.signature #=> String
|
|
3942
|
+
# event.delta.tool_result_metadata.metadata #=> String
|
|
3906
3943
|
#
|
|
3907
3944
|
# # For :content_block_stop event available at #on_content_block_stop_event callback and response eventstream enumerator:
|
|
3908
3945
|
# event.content_block_index #=> Integer
|
|
@@ -6247,7 +6284,7 @@ module Aws::BedrockAgentCore
|
|
|
6247
6284
|
tracer: tracer
|
|
6248
6285
|
)
|
|
6249
6286
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
6250
|
-
context[:gem_version] = '1.
|
|
6287
|
+
context[:gem_version] = '1.44.0'
|
|
6251
6288
|
Seahorse::Client::Request.new(handlers, context)
|
|
6252
6289
|
end
|
|
6253
6290
|
|
|
@@ -349,6 +349,7 @@ module Aws::BedrockAgentCore
|
|
|
349
349
|
HarnessToolResultBlocksDelta = Shapes::ListShape.new(name: 'HarnessToolResultBlocksDelta')
|
|
350
350
|
HarnessToolResultContentBlock = Shapes::UnionShape.new(name: 'HarnessToolResultContentBlock')
|
|
351
351
|
HarnessToolResultContentBlocks = Shapes::ListShape.new(name: 'HarnessToolResultContentBlocks')
|
|
352
|
+
HarnessToolResultMetadataBlockDelta = Shapes::StructureShape.new(name: 'HarnessToolResultMetadataBlockDelta')
|
|
352
353
|
HarnessToolType = Shapes::StringShape.new(name: 'HarnessToolType')
|
|
353
354
|
HarnessToolUseBlock = Shapes::StructureShape.new(name: 'HarnessToolUseBlock')
|
|
354
355
|
HarnessToolUseBlockDelta = Shapes::StructureShape.new(name: 'HarnessToolUseBlockDelta')
|
|
@@ -403,7 +404,11 @@ module Aws::BedrockAgentCore
|
|
|
403
404
|
InvokeCodeInterpreterRequestTraceParentString = Shapes::StringShape.new(name: 'InvokeCodeInterpreterRequestTraceParentString')
|
|
404
405
|
InvokeCodeInterpreterResponse = Shapes::StructureShape.new(name: 'InvokeCodeInterpreterResponse')
|
|
405
406
|
InvokeHarnessRequest = Shapes::StructureShape.new(name: 'InvokeHarnessRequest')
|
|
407
|
+
InvokeHarnessRequestBaggageString = Shapes::StringShape.new(name: 'InvokeHarnessRequestBaggageString')
|
|
406
408
|
InvokeHarnessRequestRuntimeSessionIdString = Shapes::StringShape.new(name: 'InvokeHarnessRequestRuntimeSessionIdString')
|
|
409
|
+
InvokeHarnessRequestTraceIdString = Shapes::StringShape.new(name: 'InvokeHarnessRequestTraceIdString')
|
|
410
|
+
InvokeHarnessRequestTraceParentString = Shapes::StringShape.new(name: 'InvokeHarnessRequestTraceParentString')
|
|
411
|
+
InvokeHarnessRequestTraceStateString = Shapes::StringShape.new(name: 'InvokeHarnessRequestTraceStateString')
|
|
407
412
|
InvokeHarnessResponse = Shapes::StructureShape.new(name: 'InvokeHarnessResponse')
|
|
408
413
|
InvokeHarnessStreamOutput = Shapes::StructureShape.new(name: 'InvokeHarnessStreamOutput')
|
|
409
414
|
JwtKeyId = Shapes::StringShape.new(name: 'JwtKeyId')
|
|
@@ -1765,11 +1770,13 @@ module Aws::BedrockAgentCore
|
|
|
1765
1770
|
HarnessContentBlockDelta.add_member(:tool_use, Shapes::ShapeRef.new(shape: HarnessToolUseBlockDelta, location_name: "toolUse"))
|
|
1766
1771
|
HarnessContentBlockDelta.add_member(:tool_result, Shapes::ShapeRef.new(shape: HarnessToolResultBlocksDelta, location_name: "toolResult"))
|
|
1767
1772
|
HarnessContentBlockDelta.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: HarnessReasoningContentBlockDelta, location_name: "reasoningContent"))
|
|
1773
|
+
HarnessContentBlockDelta.add_member(:tool_result_metadata, Shapes::ShapeRef.new(shape: HarnessToolResultMetadataBlockDelta, location_name: "toolResultMetadata"))
|
|
1768
1774
|
HarnessContentBlockDelta.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1769
1775
|
HarnessContentBlockDelta.add_member_subclass(:text, Types::HarnessContentBlockDelta::Text)
|
|
1770
1776
|
HarnessContentBlockDelta.add_member_subclass(:tool_use, Types::HarnessContentBlockDelta::ToolUse)
|
|
1771
1777
|
HarnessContentBlockDelta.add_member_subclass(:tool_result, Types::HarnessContentBlockDelta::ToolResult)
|
|
1772
1778
|
HarnessContentBlockDelta.add_member_subclass(:reasoning_content, Types::HarnessContentBlockDelta::ReasoningContent)
|
|
1779
|
+
HarnessContentBlockDelta.add_member_subclass(:tool_result_metadata, Types::HarnessContentBlockDelta::ToolResultMetadata)
|
|
1773
1780
|
HarnessContentBlockDelta.add_member_subclass(:unknown, Types::HarnessContentBlockDelta::Unknown)
|
|
1774
1781
|
HarnessContentBlockDelta.struct_class = Types::HarnessContentBlockDelta
|
|
1775
1782
|
|
|
@@ -1810,6 +1817,7 @@ module Aws::BedrockAgentCore
|
|
|
1810
1817
|
HarnessGeminiModelConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
|
|
1811
1818
|
HarnessGeminiModelConfig.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
|
|
1812
1819
|
HarnessGeminiModelConfig.add_member(:top_k, Shapes::ShapeRef.new(shape: TopK, location_name: "topK"))
|
|
1820
|
+
HarnessGeminiModelConfig.add_member(:additional_params, Shapes::ShapeRef.new(shape: Document, location_name: "additionalParams"))
|
|
1813
1821
|
HarnessGeminiModelConfig.struct_class = Types::HarnessGeminiModelConfig
|
|
1814
1822
|
|
|
1815
1823
|
HarnessInlineFunctionConfig.add_member(:description, Shapes::ShapeRef.new(shape: HarnessInlineFunctionDescription, required: true, location_name: "description"))
|
|
@@ -1984,6 +1992,9 @@ module Aws::BedrockAgentCore
|
|
|
1984
1992
|
|
|
1985
1993
|
HarnessToolResultContentBlocks.member = Shapes::ShapeRef.new(shape: HarnessToolResultContentBlock)
|
|
1986
1994
|
|
|
1995
|
+
HarnessToolResultMetadataBlockDelta.add_member(:metadata, Shapes::ShapeRef.new(shape: SensitiveText, required: true, location_name: "metadata"))
|
|
1996
|
+
HarnessToolResultMetadataBlockDelta.struct_class = Types::HarnessToolResultMetadataBlockDelta
|
|
1997
|
+
|
|
1987
1998
|
HarnessToolUseBlock.add_member(:name, Shapes::ShapeRef.new(shape: HarnessToolName, required: true, location_name: "name"))
|
|
1988
1999
|
HarnessToolUseBlock.add_member(:tool_use_id, Shapes::ShapeRef.new(shape: HarnessToolUseId, required: true, location_name: "toolUseId"))
|
|
1989
2000
|
HarnessToolUseBlock.add_member(:input, Shapes::ShapeRef.new(shape: SensitiveJson, required: true, location_name: "input"))
|
|
@@ -2085,6 +2096,8 @@ module Aws::BedrockAgentCore
|
|
|
2085
2096
|
InvokeAgentRuntimeRequest.add_member(:mcp_session_id, Shapes::ShapeRef.new(shape: StringType, location: "header", location_name: "Mcp-Session-Id"))
|
|
2086
2097
|
InvokeAgentRuntimeRequest.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape: SessionType, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id", metadata: {"idempotencyToken" => true}))
|
|
2087
2098
|
InvokeAgentRuntimeRequest.add_member(:mcp_protocol_version, Shapes::ShapeRef.new(shape: StringType, location: "header", location_name: "Mcp-Protocol-Version"))
|
|
2099
|
+
InvokeAgentRuntimeRequest.add_member(:mcp_method, Shapes::ShapeRef.new(shape: StringType, location: "header", location_name: "Mcp-Method"))
|
|
2100
|
+
InvokeAgentRuntimeRequest.add_member(:mcp_name, Shapes::ShapeRef.new(shape: StringType, location: "header", location_name: "Mcp-Name"))
|
|
2088
2101
|
InvokeAgentRuntimeRequest.add_member(:runtime_user_id, Shapes::ShapeRef.new(shape: StringType, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-User-Id"))
|
|
2089
2102
|
InvokeAgentRuntimeRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: InvokeAgentRuntimeRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
|
2090
2103
|
InvokeAgentRuntimeRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: InvokeAgentRuntimeRequestTraceParentString, location: "header", location_name: "traceparent"))
|
|
@@ -2139,6 +2152,10 @@ module Aws::BedrockAgentCore
|
|
|
2139
2152
|
InvokeHarnessRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: HarnessEndpointName, location: "querystring", location_name: "qualifier"))
|
|
2140
2153
|
InvokeHarnessRequest.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape: InvokeHarnessRequestRuntimeSessionIdString, required: true, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id"))
|
|
2141
2154
|
InvokeHarnessRequest.add_member(:runtime_user_id, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-User-Id"))
|
|
2155
|
+
InvokeHarnessRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: InvokeHarnessRequestTraceParentString, location: "header", location_name: "traceparent"))
|
|
2156
|
+
InvokeHarnessRequest.add_member(:trace_state, Shapes::ShapeRef.new(shape: InvokeHarnessRequestTraceStateString, location: "header", location_name: "tracestate"))
|
|
2157
|
+
InvokeHarnessRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: InvokeHarnessRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
|
2158
|
+
InvokeHarnessRequest.add_member(:baggage, Shapes::ShapeRef.new(shape: InvokeHarnessRequestBaggageString, location: "header", location_name: "baggage"))
|
|
2142
2159
|
InvokeHarnessRequest.add_member(:messages, Shapes::ShapeRef.new(shape: HarnessMessages, required: true, location_name: "messages"))
|
|
2143
2160
|
InvokeHarnessRequest.add_member(:model, Shapes::ShapeRef.new(shape: HarnessModelConfiguration, location_name: "model"))
|
|
2144
2161
|
InvokeHarnessRequest.add_member(:system_prompt, Shapes::ShapeRef.new(shape: HarnessSystemPrompt, location_name: "systemPrompt"))
|
|
@@ -4377,6 +4377,10 @@ module Aws::BedrockAgentCore
|
|
|
4377
4377
|
# A reasoning content delta.
|
|
4378
4378
|
# @return [Types::HarnessReasoningContentBlockDelta]
|
|
4379
4379
|
#
|
|
4380
|
+
# @!attribute [rw] tool_result_metadata
|
|
4381
|
+
# A tool result metadata delta.
|
|
4382
|
+
# @return [Types::HarnessToolResultMetadataBlockDelta]
|
|
4383
|
+
#
|
|
4380
4384
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessContentBlockDelta AWS API Documentation
|
|
4381
4385
|
#
|
|
4382
4386
|
class HarnessContentBlockDelta < Struct.new(
|
|
@@ -4384,6 +4388,7 @@ module Aws::BedrockAgentCore
|
|
|
4384
4388
|
:tool_use,
|
|
4385
4389
|
:tool_result,
|
|
4386
4390
|
:reasoning_content,
|
|
4391
|
+
:tool_result_metadata,
|
|
4387
4392
|
:unknown)
|
|
4388
4393
|
SENSITIVE = [:text, :reasoning_content]
|
|
4389
4394
|
include Aws::Structure
|
|
@@ -4393,6 +4398,7 @@ module Aws::BedrockAgentCore
|
|
|
4393
4398
|
class ToolUse < HarnessContentBlockDelta; end
|
|
4394
4399
|
class ToolResult < HarnessContentBlockDelta; end
|
|
4395
4400
|
class ReasoningContent < HarnessContentBlockDelta; end
|
|
4401
|
+
class ToolResultMetadata < HarnessContentBlockDelta; end
|
|
4396
4402
|
class Unknown < HarnessContentBlockDelta; end
|
|
4397
4403
|
end
|
|
4398
4404
|
|
|
@@ -4539,6 +4545,11 @@ module Aws::BedrockAgentCore
|
|
|
4539
4545
|
# The topK set when calling the model.
|
|
4540
4546
|
# @return [Integer]
|
|
4541
4547
|
#
|
|
4548
|
+
# @!attribute [rw] additional_params
|
|
4549
|
+
# Provider-specific parameters passed through to the Gemini model
|
|
4550
|
+
# provider unchanged.
|
|
4551
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
4552
|
+
#
|
|
4542
4553
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessGeminiModelConfig AWS API Documentation
|
|
4543
4554
|
#
|
|
4544
4555
|
class HarnessGeminiModelConfig < Struct.new(
|
|
@@ -4547,7 +4558,8 @@ module Aws::BedrockAgentCore
|
|
|
4547
4558
|
:max_tokens,
|
|
4548
4559
|
:temperature,
|
|
4549
4560
|
:top_p,
|
|
4550
|
-
:top_k
|
|
4561
|
+
:top_k,
|
|
4562
|
+
:additional_params)
|
|
4551
4563
|
SENSITIVE = []
|
|
4552
4564
|
include Aws::Structure
|
|
4553
4565
|
end
|
|
@@ -5229,6 +5241,20 @@ module Aws::BedrockAgentCore
|
|
|
5229
5241
|
class Unknown < HarnessToolResultContentBlock; end
|
|
5230
5242
|
end
|
|
5231
5243
|
|
|
5244
|
+
# Delta payload for a tool result metadata.
|
|
5245
|
+
#
|
|
5246
|
+
# @!attribute [rw] metadata
|
|
5247
|
+
# The partial JSON-string fragment of the tool result metadata.
|
|
5248
|
+
# @return [String]
|
|
5249
|
+
#
|
|
5250
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessToolResultMetadataBlockDelta AWS API Documentation
|
|
5251
|
+
#
|
|
5252
|
+
class HarnessToolResultMetadataBlockDelta < Struct.new(
|
|
5253
|
+
:metadata)
|
|
5254
|
+
SENSITIVE = [:metadata]
|
|
5255
|
+
include Aws::Structure
|
|
5256
|
+
end
|
|
5257
|
+
|
|
5232
5258
|
# A tool use request from the model.
|
|
5233
5259
|
#
|
|
5234
5260
|
# @!attribute [rw] name
|
|
@@ -5618,6 +5644,22 @@ module Aws::BedrockAgentCore
|
|
|
5618
5644
|
# The version of the MCP protocol being used.
|
|
5619
5645
|
# @return [String]
|
|
5620
5646
|
#
|
|
5647
|
+
# @!attribute [rw] mcp_method
|
|
5648
|
+
# The MCP method being invoked. For example, `tools/call`,
|
|
5649
|
+
# `resources/read`, or `prompts/get`.
|
|
5650
|
+
# @return [String]
|
|
5651
|
+
#
|
|
5652
|
+
# @!attribute [rw] mcp_name
|
|
5653
|
+
# The name of the MCP resource, tool, or prompt being accessed. The
|
|
5654
|
+
# value depends on the method:
|
|
5655
|
+
#
|
|
5656
|
+
# * `tools/call` – The tool name.
|
|
5657
|
+
#
|
|
5658
|
+
# * `resources/read` – The resource URI.
|
|
5659
|
+
#
|
|
5660
|
+
# * `prompts/get` – The prompt name.
|
|
5661
|
+
# @return [String]
|
|
5662
|
+
#
|
|
5621
5663
|
# @!attribute [rw] runtime_user_id
|
|
5622
5664
|
# The identifier of the runtime user.
|
|
5623
5665
|
# @return [String]
|
|
@@ -5672,6 +5714,8 @@ module Aws::BedrockAgentCore
|
|
|
5672
5714
|
:mcp_session_id,
|
|
5673
5715
|
:runtime_session_id,
|
|
5674
5716
|
:mcp_protocol_version,
|
|
5717
|
+
:mcp_method,
|
|
5718
|
+
:mcp_name,
|
|
5675
5719
|
:runtime_user_id,
|
|
5676
5720
|
:trace_id,
|
|
5677
5721
|
:trace_parent,
|
|
@@ -5882,6 +5926,25 @@ module Aws::BedrockAgentCore
|
|
|
5882
5926
|
# passed through to the runtime container.
|
|
5883
5927
|
# @return [String]
|
|
5884
5928
|
#
|
|
5929
|
+
# @!attribute [rw] trace_parent
|
|
5930
|
+
# W3C trace context parent header containing version, trace ID, parent
|
|
5931
|
+
# span ID, and trace flags.
|
|
5932
|
+
# @return [String]
|
|
5933
|
+
#
|
|
5934
|
+
# @!attribute [rw] trace_state
|
|
5935
|
+
# W3C trace context state header for vendor-specific trace
|
|
5936
|
+
# information.
|
|
5937
|
+
# @return [String]
|
|
5938
|
+
#
|
|
5939
|
+
# @!attribute [rw] trace_id
|
|
5940
|
+
# Trace ID for maintaining observability through the operation.
|
|
5941
|
+
# @return [String]
|
|
5942
|
+
#
|
|
5943
|
+
# @!attribute [rw] baggage
|
|
5944
|
+
# W3C Baggage header for user-defined context propagation. Format:
|
|
5945
|
+
# key1=value1,key2=value2
|
|
5946
|
+
# @return [String]
|
|
5947
|
+
#
|
|
5885
5948
|
# @!attribute [rw] messages
|
|
5886
5949
|
# The messages to send to the agent.
|
|
5887
5950
|
# @return [Array<Types::HarnessMessage>]
|
|
@@ -5938,6 +6001,10 @@ module Aws::BedrockAgentCore
|
|
|
5938
6001
|
:qualifier,
|
|
5939
6002
|
:runtime_session_id,
|
|
5940
6003
|
:runtime_user_id,
|
|
6004
|
+
:trace_parent,
|
|
6005
|
+
:trace_state,
|
|
6006
|
+
:trace_id,
|
|
6007
|
+
:baggage,
|
|
5941
6008
|
:messages,
|
|
5942
6009
|
:model,
|
|
5943
6010
|
:system_prompt,
|
data/sig/client.rbs
CHANGED
|
@@ -761,6 +761,8 @@ module Aws
|
|
|
761
761
|
?mcp_session_id: ::String,
|
|
762
762
|
?runtime_session_id: ::String,
|
|
763
763
|
?mcp_protocol_version: ::String,
|
|
764
|
+
?mcp_method: ::String,
|
|
765
|
+
?mcp_name: ::String,
|
|
764
766
|
?runtime_user_id: ::String,
|
|
765
767
|
?trace_id: ::String,
|
|
766
768
|
?trace_parent: ::String,
|
|
@@ -896,6 +898,10 @@ module Aws
|
|
|
896
898
|
?qualifier: ::String,
|
|
897
899
|
runtime_session_id: ::String,
|
|
898
900
|
?runtime_user_id: ::String,
|
|
901
|
+
?trace_parent: ::String,
|
|
902
|
+
?trace_state: ::String,
|
|
903
|
+
?trace_id: ::String,
|
|
904
|
+
?baggage: ::String,
|
|
899
905
|
messages: Array[
|
|
900
906
|
{
|
|
901
907
|
role: ("user" | "assistant"),
|
|
@@ -959,7 +965,9 @@ module Aws
|
|
|
959
965
|
max_tokens: ::Integer?,
|
|
960
966
|
temperature: ::Float?,
|
|
961
967
|
top_p: ::Float?,
|
|
962
|
-
top_k: ::Integer
|
|
968
|
+
top_k: ::Integer?,
|
|
969
|
+
additional_params: {
|
|
970
|
+
}?
|
|
963
971
|
}?,
|
|
964
972
|
lite_llm_model_config: {
|
|
965
973
|
model_id: ::String,
|
data/sig/types.rbs
CHANGED
|
@@ -1302,6 +1302,7 @@ module Aws::BedrockAgentCore
|
|
|
1302
1302
|
attr_accessor tool_use: Types::HarnessToolUseBlockDelta
|
|
1303
1303
|
attr_accessor tool_result: ::Array[Types::HarnessToolResultBlockDelta]
|
|
1304
1304
|
attr_accessor reasoning_content: Types::HarnessReasoningContentBlockDelta
|
|
1305
|
+
attr_accessor tool_result_metadata: Types::HarnessToolResultMetadataBlockDelta
|
|
1305
1306
|
attr_accessor unknown: untyped
|
|
1306
1307
|
SENSITIVE: [:text, :reasoning_content]
|
|
1307
1308
|
|
|
@@ -1313,6 +1314,8 @@ module Aws::BedrockAgentCore
|
|
|
1313
1314
|
end
|
|
1314
1315
|
class ReasoningContent < HarnessContentBlockDelta
|
|
1315
1316
|
end
|
|
1317
|
+
class ToolResultMetadata < HarnessContentBlockDelta
|
|
1318
|
+
end
|
|
1316
1319
|
class Unknown < HarnessContentBlockDelta
|
|
1317
1320
|
end
|
|
1318
1321
|
end
|
|
@@ -1375,6 +1378,7 @@ module Aws::BedrockAgentCore
|
|
|
1375
1378
|
attr_accessor temperature: ::Float
|
|
1376
1379
|
attr_accessor top_p: ::Float
|
|
1377
1380
|
attr_accessor top_k: ::Integer
|
|
1381
|
+
attr_accessor additional_params: untyped
|
|
1378
1382
|
SENSITIVE: []
|
|
1379
1383
|
end
|
|
1380
1384
|
|
|
@@ -1634,6 +1638,11 @@ module Aws::BedrockAgentCore
|
|
|
1634
1638
|
end
|
|
1635
1639
|
end
|
|
1636
1640
|
|
|
1641
|
+
class HarnessToolResultMetadataBlockDelta
|
|
1642
|
+
attr_accessor metadata: ::String
|
|
1643
|
+
SENSITIVE: [:metadata]
|
|
1644
|
+
end
|
|
1645
|
+
|
|
1637
1646
|
class HarnessToolUseBlock
|
|
1638
1647
|
attr_accessor name: ::String
|
|
1639
1648
|
attr_accessor tool_use_id: ::String
|
|
@@ -1732,6 +1741,8 @@ module Aws::BedrockAgentCore
|
|
|
1732
1741
|
attr_accessor mcp_session_id: ::String
|
|
1733
1742
|
attr_accessor runtime_session_id: ::String
|
|
1734
1743
|
attr_accessor mcp_protocol_version: ::String
|
|
1744
|
+
attr_accessor mcp_method: ::String
|
|
1745
|
+
attr_accessor mcp_name: ::String
|
|
1735
1746
|
attr_accessor runtime_user_id: ::String
|
|
1736
1747
|
attr_accessor trace_id: ::String
|
|
1737
1748
|
attr_accessor trace_parent: ::String
|
|
@@ -1792,6 +1803,10 @@ module Aws::BedrockAgentCore
|
|
|
1792
1803
|
attr_accessor qualifier: ::String
|
|
1793
1804
|
attr_accessor runtime_session_id: ::String
|
|
1794
1805
|
attr_accessor runtime_user_id: ::String
|
|
1806
|
+
attr_accessor trace_parent: ::String
|
|
1807
|
+
attr_accessor trace_state: ::String
|
|
1808
|
+
attr_accessor trace_id: ::String
|
|
1809
|
+
attr_accessor baggage: ::String
|
|
1795
1810
|
attr_accessor messages: ::Array[Types::HarnessMessage]
|
|
1796
1811
|
attr_accessor model: Types::HarnessModelConfiguration
|
|
1797
1812
|
attr_accessor system_prompt: ::Array[Types::HarnessSystemContentBlock]
|