ToolResultBlock
dataclass
¶
A tool result block that contains the results for a tool request that the model previously made. For more information, see Call a tool with the Converse API in the Amazon Bedrock User Guide.
Source code in src/aws_sdk_bedrock_runtime/models.py
7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 | |
Attributes¶
content
instance-attribute
¶
content: list[ToolResultContentBlock]
The content for tool result content block.
status
class-attribute
instance-attribute
¶
status: str | None = None
The status for the tool result content block.
Note
This field is only supported by Amazon Nova and Anthropic Claude 3 and 4 models.
tool_use_id
instance-attribute
¶
tool_use_id: str
The ID of the tool request that this is the result for.
type
class-attribute
instance-attribute
¶
type: str | None = None
The type for the tool result content block.