ToolUse

A tool use input delta.

Constructors

Link copied to clipboard
constructor(value: HarnessToolUseBlockDelta)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard
fun asText(): String

Casts this HarnessContentBlockDelta as a Text and retrieves its kotlin.String value. Throws an exception if the HarnessContentBlockDelta is not a Text.

Link copied to clipboard

Casts this HarnessContentBlockDelta as a Text and retrieves its kotlin.String value. Returns null if the HarnessContentBlockDelta is not a Text.

Link copied to clipboard

Casts this HarnessContentBlockDelta as a ToolResult and retrieves its kotlin.collections.List value. Throws an exception if the HarnessContentBlockDelta is not a ToolResult.

Link copied to clipboard
Link copied to clipboard