Messages API reference for the xpander SDK
agent.add_task()
is called. The array is in OpenAI-compatible format and can be used directly with any supported LLM provider without manual conversion.Parameter | Type | Required | Description |
---|---|---|---|
messages | LLM response or Message(s) | Yes | Messages to add (accepts raw LLM responses, single messages, or arrays) |
void
agent.add_task()
is calledthread_id
is provided to add_task()
xpfinish-agent-execution-finished
tool