Skip to main content
Glama

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
NameRequiredDescriptionDefault
agent_response_chunkYes

Implementation Reference

  • 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."

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/liuhao6741/openclaw-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server