Skip to main content

agent.createResponse()

Lightweight response; waits for a final answer or action-required pause. Defaults: minimal context, no tools/plugins. Explicit plugin selections require their callable router tools in toolNames. Reuses createThread model/identity selection and saved instructions/strict responseFormat. Backing kind=response is excluded from default list/search; persistThread=true makes an ordinary visible conversation. Both modes retain evidence. output.text/json contain the answer; message is the original input. Without stream options returns its original Promise. Unavailable with readOnly:true.

Overloads

Examples

See all agent methods or runtime basics.
Last modified on November 8, 2026