Actions6
- Assistant Actions
- File Actions
- Context Snippet Actions
File → Update File
AI-generatedSummary
Replace an existing file in a Pinecone Assistant by specifying its unique external file ID. The operation deletes all files matching the given external file ID and then uploads new file data from the specified workflow input field, optionally adding metadata and enabling multimodal context for PDFs.
Inputs
- Assistant Name (required) — Select the Pinecone Assistant to update the file in.
- Input Data Field Name (required) — The name of the input field containing the binary file data to upload.
- External File ID (required) — The unique external identifier for the file to update.
- Additional Fields — Optional metadata key-value pairs to associate with the file, an option to enable multimodal context for PDF files, and a source tag string to attribute usage to this integration.
Output shape
a list containing a single JSON object describing the uploaded file
Returns JSON array of the newly uploaded file information after successful deletion and upload. Throws error if the external file ID is not provided or if deletion/upload fails.