HarnessToolResultBlock
The result of a tool execution.
Contents
- content
-
The content of the tool result.
Type: Array of HarnessToolResultContentBlock objects
Required: Yes
- toolUseId
-
The tool use ID that this result corresponds to.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[a-zA-Z0-9_-]+Required: Yes
- status
-
The status of the tool execution.
Type: String
Valid Values:
success | errorRequired: No
- type
-
The type of tool use that produced this result.
Type: String
Valid Values:
tool_use | server_tool_use | mcp_tool_useRequired: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: