H2O.ai · Schema

MemoryBlockCreateRequest

CompanyArtificial IntelligenceMachine LearningMLOpsGenerative AILLMRAGData ScienceModel DeploymentAI AgentsEnterprise AI

Properties

Name Type Description
name string Name of the memory block.
content string Initial content of the memory block.
system_prompt_amendment string System prompt amendment for agent mode that drives changes to the memory block.
injection_mode string Where memory content is injected. 'system_prompt' (default) 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 a
access_mode string Controls whether the LLM/agent can read the memory, write to it, or both.
max_content_length integer Maximum number of characters allowed in memory content. Set to 0 for unlimited. In LLM mode, new memories are appended and oldest content is trimmed when this limit is exceeded.
View JSON Schema on GitHub

JSON Schema

h2o-ai-memory-block-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/h2o-ai/main/json-schema/h2o-ai-memory-block-create-request-schema.json",
  "title": "MemoryBlockCreateRequest",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/h2o-ai-memory-blocks-api-openapi.yml#/components/schemas/MemoryBlockCreateRequest",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the memory block."
    },
    "content": {
      "type": "string",
      "description": "Initial content of the memory block."
    },
    "system_prompt_amendment": {
      "type": "string",
      "description": "System prompt amendment for agent mode that drives changes to the memory block."
    },
    "injection_mode": {
      "type": "string",
      "description": "Where memory content is injected. 'system_prompt' (default) 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).",
      "enum": [
        "system_prompt",
        "user_instruction",
        "agent_file",
        "agent_tool"
      ]
    },
    "access_mode": {
      "type": "string",
      "description": "Controls whether the LLM/agent can read the memory, write to it, or both.",
      "enum": [
        "read",
        "write",
        "read_write"
      ]
    },
    "max_content_length": {
      "type": "integer",
      "default": 10000,
      "description": "Maximum number of characters allowed in memory content. Set to 0 for unlimited. In LLM mode, new memories are appended and oldest content is trimmed when this limit is exceeded."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/h2o-ai-memory-block-create-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.