Skip to content

Commit c80f526

Browse files
Update models for release
1 parent 7231e7c commit c80f526

File tree

6 files changed

+171
-34
lines changed

6 files changed

+171
-34
lines changed

.changes/3.359.1

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{
3+
"type": "api-change",
4+
"category": "BedrockRuntime",
5+
"description": "Add support for system tool and web citation response."
6+
}
7+
]

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## next release
4+
5+
* `Aws\BedrockRuntime` - Add support for system tool and web citation response.
6+
37
## 3.359.0 - 2025-10-28
48

59
* `Aws\Credentials` - Fixes issue caused by #3203 with role assumption when `credential_source` is specified.

src/data/bedrock-runtime/2023-09-30/api-2.json

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,9 @@
649649
"CitationLocation": {
650650
"type": "structure",
651651
"members": {
652+
"web": {
653+
"shape": "WebLocation"
654+
},
652655
"documentChar": {
653656
"shape": "DocumentCharLocation"
654657
},
@@ -790,6 +793,9 @@
790793
"toolUse": {
791794
"shape": "ToolUseBlockDelta"
792795
},
796+
"toolResult": {
797+
"shape": "ToolResultBlocksDelta"
798+
},
793799
"reasoningContent": {
794800
"shape": "ReasoningContentBlockDelta"
795801
},
@@ -820,6 +826,9 @@
820826
"members": {
821827
"toolUse": {
822828
"shape": "ToolUseBlockStart"
829+
},
830+
"toolResult": {
831+
"shape": "ToolResultBlockStart"
823832
}
824833
},
825834
"union": true
@@ -3411,6 +3420,17 @@
34113420
"shape": "SystemContentBlock"
34123421
}
34133422
},
3423+
"SystemTool": {
3424+
"type": "structure",
3425+
"required": [
3426+
"name"
3427+
],
3428+
"members": {
3429+
"name": {
3430+
"shape": "ToolName"
3431+
}
3432+
}
3433+
},
34143434
"Tag": {
34153435
"type": "structure",
34163436
"required": [
@@ -3527,6 +3547,9 @@
35273547
"toolSpec": {
35283548
"shape": "ToolSpecification"
35293549
},
3550+
"systemTool": {
3551+
"shape": "SystemTool"
3552+
},
35303553
"cachePoint": {
35313554
"shape": "CachePointBlock"
35323555
}
@@ -3597,11 +3620,46 @@
35973620
"content": {
35983621
"shape": "ToolResultContentBlocks"
35993622
},
3623+
"status": {
3624+
"shape": "ToolResultStatus"
3625+
},
3626+
"type": {
3627+
"shape": "String"
3628+
}
3629+
}
3630+
},
3631+
"ToolResultBlockDelta": {
3632+
"type": "structure",
3633+
"members": {
3634+
"text": {
3635+
"shape": "String"
3636+
}
3637+
},
3638+
"union": true
3639+
},
3640+
"ToolResultBlockStart": {
3641+
"type": "structure",
3642+
"required": [
3643+
"toolUseId"
3644+
],
3645+
"members": {
3646+
"toolUseId": {
3647+
"shape": "ToolUseId"
3648+
},
3649+
"type": {
3650+
"shape": "String"
3651+
},
36003652
"status": {
36013653
"shape": "ToolResultStatus"
36023654
}
36033655
}
36043656
},
3657+
"ToolResultBlocksDelta": {
3658+
"type": "list",
3659+
"member": {
3660+
"shape": "ToolResultBlockDelta"
3661+
}
3662+
},
36053663
"ToolResultContentBlock": {
36063664
"type": "structure",
36073665
"members": {
@@ -3670,6 +3728,9 @@
36703728
},
36713729
"input": {
36723730
"shape": "Document"
3731+
},
3732+
"type": {
3733+
"shape": "ToolUseType"
36733734
}
36743735
}
36753736
},
@@ -3696,6 +3757,9 @@
36963757
},
36973758
"name": {
36983759
"shape": "ToolName"
3760+
},
3761+
"type": {
3762+
"shape": "ToolUseType"
36993763
}
37003764
}
37013765
},
@@ -3705,6 +3769,12 @@
37053769
"min": 1,
37063770
"pattern": "[a-zA-Z0-9_-]+"
37073771
},
3772+
"ToolUseType": {
3773+
"type": "string",
3774+
"enum": [
3775+
"server_tool_use"
3776+
]
3777+
},
37083778
"Trace": {
37093779
"type": "string",
37103780
"enum": [
@@ -3770,6 +3840,17 @@
37703840
"VideoSourceBytesBlob": {
37713841
"type": "blob",
37723842
"min": 1
3843+
},
3844+
"WebLocation": {
3845+
"type": "structure",
3846+
"members": {
3847+
"url": {
3848+
"shape": "String"
3849+
},
3850+
"domain": {
3851+
"shape": "String"
3852+
}
3853+
}
37733854
}
37743855
}
37753856
}

src/data/bedrock-runtime/2023-09-30/api-2.json.php

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)