memory_log_conversation_append
Append additional text to the current conversation log entry when responses exceed single-call limits, enabling complete recording of extended AI interactions.
Instructions
Append more text to the last Agent section in today's journal.
Use after memory_log_conversation() when your full reply did not fit in one call. Can be called multiple times; each chunk is appended to the same turn.
Args: agent_response_chunk: Next part of your reply to append (no truncation).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_response_chunk | Yes |
Implementation Reference
- src/openclaw_memory/server.py:68-82 (handler)The `memory_log_conversation_append` tool handler definition and implementation. It appends text to the last agent turn in the journal.
@mcp.tool() async def memory_log_conversation_append(agent_response_chunk: str) -> str: """Append more text to the last Agent section in today's journal. Use after memory_log_conversation() when your full reply did not fit in one call. Can be called multiple times; each chunk is appended to the same turn. Args: agent_response_chunk: Next part of your reply to append (no truncation). """ journal_dir = _get_journal_dir() ok = append_agent(journal_dir, agent_response_chunk) if ok: return "Appended to last conversation turn." return "No conversation turn found today; call memory_log_conversation first."