Skip to content

SessionCapabilities

Describes the capabilities of the sender. This type allows custom properties, in addition to the ones defined.

Indexable

[key: string]: unknown

Allow custom properties

Properties

Property Type Description
asyncInputStreamEmitter? boolean Indicates the sender may produce a cross exchange input stream events if the receiver indicates they can be handled.
asyncInputStreamHandler? boolean Indicates the sender can handle cross exchange input stream events.
asyncToolCallEmitter? boolean Indicates the sender may produce cross exchange tool calls if the receiver indicates they can be handled.
asyncToolCallHandler? boolean Indicates the sender can handle cross exchange tool calls.
mimeTypesEmitted? string[] Indicates the mime types which the sender can send in input streams and as message content, provided the receiver indicates they can handle the mime type.
mimeTypesHandled? string[] Indicates the mime types the sender can handle. Wildcards such as "/" and "text/*" are allowed.