# MemoryBlockUpdateRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | New name for the memory block. | [optional] **content** | **str** | Updated content of the memory block. | [optional] **system_prompt_amendment** | **str** | Updated system prompt amendment. | [optional] **injection_mode** | **str** | Where memory content is injected. 'system_prompt' adds it to the LLM system prompt; 'user_instruction' prepends it to the user message; 'agent_file' makes it only available as AGENTS.md in agent mode; 'agent_tool' exposes content lazily via the read_memory_block / update_memory_block tools (no pre-injection). | [optional] **access_mode** | **str** | Controls whether the LLM/agent can read the memory, write to it, or both. | [optional] **max_content_length** | **int** | Maximum number of characters allowed in memory content. Set to 0 for unlimited. | [optional] ## Example ```python from h2ogpte.rest_sync.models.memory_block_update_request import MemoryBlockUpdateRequest # TODO update the JSON string below json = "{}" # create an instance of MemoryBlockUpdateRequest from a JSON string memory_block_update_request_instance = MemoryBlockUpdateRequest.from_json(json) # print the JSON string representation of the object print(MemoryBlockUpdateRequest.to_json()) # convert the object into a dict memory_block_update_request_dict = memory_block_update_request_instance.to_dict() # create an instance of MemoryBlockUpdateRequest from a dict memory_block_update_request_from_dict = MemoryBlockUpdateRequest.from_dict(memory_block_update_request_dict) ```