Skip to Content
Docs
ReferenceOrganise

archive_conversation

Archive a conversation

Archives one of the user's own awen conversations, as Archive does in awen: it leaves their active list, its messages and files stay, and restore_conversation brings it back. A person can have at most 100 active conversations in a project, so archiving one makes room for another. Ask the user before archiving, and name the conversation. A conversation whose reply is still being written is refused until it ends or cancel_turn stops it; generations that already started finish on their own.

Arguments

ArgumentTypeRequiredWhat it is
conversation_idstringYesThe conversation's conversation_id, from list_conversations, start_conversation or create_with_awen.

Call

A host sends a tools/call request to the MCP endpoint, with the arguments it needs.

{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "archive_conversation",    "arguments": {      "conversation_id": "<string>"    }  }}

Arguments schema

{  "type": "object",  "properties": {    "conversation_id": {      "type": "string",      "minLength": 1,      "maxLength": 128,      "pattern": "^[A-Za-z0-9_-]+$",      "description": "The conversation's conversation_id, from list_conversations, start_conversation or create_with_awen."    }  },  "required": [    "conversation_id"  ]}

Answer

The answer's structuredContent follows this schema, and its text holds the same JSON.

{  "type": "object",  "properties": {    "conversation_id": {      "type": "string"    },    "project_id": {      "type": "string"    },    "archived": {      "type": "boolean"    },    "url": {      "type": "string"    }  },  "required": [    "conversation_id",    "project_id",    "archived",    "url"  ],  "additionalProperties": false}