Skip to content

SpanToolResultValue

Source code in docs_src/capo_qconnect/types/span_tool_result_value.py
class SpanToolResultValue(TypedDict, closed=True):
    tool_use_id: "capo_qconnect.types.uuid.Uuid"
    """<p>Relates this result back to the tool invocation</p>"""
    values: "capo_qconnect.types.span_message_value_list.SpanMessageValueList"
    """<p>The tool results</p>"""
    error: NotRequired["capo_qconnect.types.non_empty_string.NonEmptyString"]
    """<p>The tool invocation error if failed</p>"""

error instance-attribute

error: NotRequired[NonEmptyString]

The tool invocation error if failed

tool_use_id instance-attribute

tool_use_id: Uuid

Relates this result back to the tool invocation

values instance-attribute

The tool results