View a markdown version of this page

ToolResultStructuredContent - Amazon Bedrock AgentCore Data Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon SDKs, see the following: