Suna Kortix icon

Suna Kortix

Interact with Suna Kortix AI Agents - Execute agents, manage sandboxes, and handle files

Thread → Create Message

AI-generated

Summary

Create a new message in a specified thread by providing the thread identifier and message content as a JSON object.

Inputs

  • Thread (required) — Select the thread in which to create the message using a resource locator. You can select from a list, specify by URL, or provide the thread ID directly.
  • Message Data (JSON) (required) — Provide a JSON object containing the message data, such as { "content": "Hello", "role": "user" }.

Output shape

a single JSON object representing the created message

The operation returns the newly created message object for the specified thread. Errors are returned as error messages if creation fails.

Links

Discussion