ThinkingContextItem

6 Jul 20261 minute to read

Defines the thinking context item.
Represents contextual metadata associated with a thinking stage, such as files scanned, variables inspected, or query results.

Properties

badge string|ThinkingContextBadge

Specifies the badge type displayed with the context item.
Indicates the status or outcome of the context (e.g., success, warning, failed, or none).

clickable boolean

Specifies whether the context item is clickable.
When true, the item can be interacted with to trigger custom handlers or navigate to related content.

name string

Specifies the name or identifier of the context item.
Examples: filename, variable name, search query, or tool identifier.

tooltipText string

Specifies the tooltip text displayed when hovering over the context item.
Provides additional details or explanation for the context item.

type string|ThinkingContextType

Specifies the type of the context item.
Determines the category of contextual information (e.g., file, variable, search result, tool, API result, or general context).

value string

Specifies the value or content associated with the context item.
Can represent file path, variable value, search results, or API response data.