Home / Servers / OpenAI API / update_vector_store_file_attributes

Update vector store file attributes

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

Update vector store file attributes Update attributes on a vector store file. [POST /vector_stores/{vector_store_id}/files/{file_id}]

Name on the gateway: openai_api__update_vector_store_file_attributes · may change things.

Parameters

NameTypeDescription
vector_store_id requiredstringThe ID of the vector store the file belongs to.
file_id requiredstringThe ID of the file to update attributes.
attributes requiredobjectSet of 16 key-value pairs that can be attached to an object. This can be…

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__update_vector_store_file_attributes",
  "arguments": {
    "vector_store_id": "…",
    "file_id": "…",
    "attributes": "…"
  }
}

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 update vector store file attributes tool with vector_store_id set to ….

More from OpenAI API