ReferenceOrganise
restore_conversation
Restore a conversation
Restores one of the user's archived awen conversations to their active list, as Restore does in awen. A person can have at most 100 active conversations in a project: at the limit this is refused until one is archived.
- Permission:
awen:write - Also an API operation:
POST /api/v1/restore_conversation
Arguments
| Argument | Type | Required | What it is |
|---|---|---|---|
conversation_id | string | Yes | The 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": "restore_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}