Create TraeCN Conversation
traecn_create_conversationPrepares a fresh TraeCN conversation for a new context by reusing an empty draft or creating another context and returning a native conversation identity when allocated.
Instructions
Prepare a fresh TraeCN conversation for a genuinely new context. Returns a native conversation identity when TraeCN has allocated it; an empty draft returns conversationId=null and creationDeferred=true until its first message. Reuses an already-empty draft; otherwise creates another context. Call once per new context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Stable machine-readable result or error code. | |
| error | No | Error identifier or diagnostic when the operation failed. | |
| fresh | No | Whether the active context is ready for a first message. | |
| action | No | Conversation operation performed. | |
| status | No | Stable operation or task status. | |
| taskId | No | Stable gateway task identifier. | |
| changed | No | Whether visible TraeCN state changed. | |
| deleted | No | Number of conversations removed (delete only). | |
| message | No | Human-readable outcome summary. | |
| success | No | Whether the operation succeeded. | |
| retryable | No | Whether retrying the same call can succeed later. | |
| nextAction | No | Suggested next step after a failure. | |
| actualTitle | No | Title actually visible at decision time (delete mismatch only). | |
| recoverable | No | Always false for deletion; the gateway cannot restore conversations. | |
| expectedTitle | No | Title compared against the visible conversation (delete mismatch only). | |
| conversationId | No | Native identity when allocated; null for an empty draft. | |
| creationDeferred | No | True when TraeCN will allocate the conversation identity on its first message. |