Appearance
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
| Parameter | Type |
|---|---|
props | OpenInChatProps |
Returns
Example
ts
OpenInChat({prompt: 'Summarize this article'});