ToolResultStructuredContent - Amazon Bedrock AgentCore Data Plane

ToolResultStructuredContent

Contains structured content from a tool result.

Contents

executionTime

The execution time of the tool operation in milliseconds.

Type: Double

Required: No

exitCode

The exit code from the tool execution.

Type: Integer

Required: No

stderr

The standard error output from the tool execution.

Type: String

Required: No

stdout

The standard output from the tool execution.

Type: String

Required: No

taskId

The identifier of the task that produced the result.

Type: String

Required: No

taskStatus

The status of the task that produced the result.

Type: String

Valid Values: submitted | working | completed | canceled | failed

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: