Home / Servers / OpenAI API / create_conversation_items

Create items

An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.

Create items in a conversation with the given ID. [POST /conversations/{conversation_id}/items]

Name on the gateway: openai_api__create_conversation_items · may change things.

Parameters

NameTypeDescription
conversation_id requiredstringThe ID of the conversation to add the item to.
includearrayAdditional fields to include in the response. See the include parameter for…
items requiredarrayThe items to add to the conversation. You may add up to 20 items at a time.

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "openai_api__create_conversation_items",
  "arguments": {
    "conversation_id": "…",
    "items": []
  }
}

Or connect the OpenAI API server directly, which lists 371 tools including this one:

Run in your terminal
claude mcp add --transport http hj-openai-api https://mcp.hjlabs.in/mcp/openai-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create items tool with conversation_id set to ….

More from OpenAI API