DicodeTools فارسی

Build Chat API Messages

Create a messages array from system, user, and assistant messages for a chat API.

Input

Enter at least the user message.

Output

Enter your input and run the tool to see the result here.
Guide: Build Chat API Messages

Enter at least the user message. Processing runs in your browser.

Favorites

Create a favorites tab

Install Build Chat API Messages

In Chrome or Edge, use Install app from the browser menu. On iPhone, open the Safari share menu and choose Add to Home Screen. On Mac, choose Add to Dock from the File menu.