Add a specific message to the conversation.
This function allows you to inject any CoreMessage compatible message directly into the conversation at a specific point in the script. Useful for simulating tool responses, system messages, or specific conversational states.
The message to add to the conversation.
A ScriptStep function that can be used in scenario scripts.
Add a specific message to the conversation.
This function allows you to inject any CoreMessage compatible message directly into the conversation at a specific point in the script. Useful for simulating tool responses, system messages, or specific conversational states.