Home / Servers / OpenAI API / add_upload_part

Add upload part

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

Add upload part Adds a Part to an Upload object. A Part represents a chunk of bytes from the file you are trying to upload. Each Part can be at most 64 MB, and you can add Parts until you hit the Upload maximum of… [POST /uploads/{upload_id}/parts]

Name on the gateway: openai_api__add_upload_part · may change things.

Parameters

NameTypeDescription
upload_id requiredstringThe ID of the Upload.
data requiredstringThe chunk of bytes for this Part.

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__add_upload_part",
  "arguments": {
    "upload_id": "…",
    "data": "…"
  }
}

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 add upload part tool with upload_id set to ….

More from OpenAI API