Skip to content

Function: OpenInChat()

ts
function OpenInChat(props: OpenInChatProps): Block;

Defined in: src/renderer/blocks/index.ts:2499

Experimental

OpenInChat — dropdown offering to open a prompt in an external AI chat surface (ChatGPT, Claude, Google AI Studio by default).

Parameters

ParameterType
propsOpenInChatProps

Returns

Block

Example

ts
OpenInChat({prompt: 'Summarize this article'});

Matterway Assistant SDK Documentation