Home / Servers / OpenAI API / create_container
Create container
An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.
Create container [POST /containers]
Name on the gateway: openai_api__create_container · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
name required | string | Name of the container to create. |
file_ids | array | IDs of files to copy to the container. |
expires_after | object | Container expiration time in seconds relative to the 'anchor' time. |
skills | array | An optional list of skills referenced by id or inline data. |
memory_limit | 1g | 4g | 16g | 64g | Optional memory limit for the container. Defaults to "1g". |
network_policy | object | Network access policy for the container. |
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:
{
"name": "openai_api__create_container",
"arguments": {
"name": "…"
}
}Or connect the OpenAI API server directly, which lists 371 tools including this one:
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 container tool with name set to ….