veryfront__update_external_file

Update external file. Requires project.integrations.connect.

Risk: mutating.

Arguments

NameTypeRequiredDescription
project_referencestringProject ID or slug. Requires project.integrations.connect through the caller's own personal provider connection.
providerstringYesStorage provider accessed through the caller's own personal connection. A shared project connection is not used.
file_idstringYesFile ID from list_external_files whose entire content is replaced.
contentstringYesNew content for the file: text, or base64 when content_encoding is base64
content_encodingstringEncoding of content: "utf8" (default) or "base64"
if_matchstringetag from list_external_files or get_external_file; the update is refused when the file changed
confirmbooleanYesMust be true: this call replaces or deletes provider data. false refuses the call.

Call it

JSON
{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__update_external_file",    "arguments": {      "provider": "<provider>",      "file_id": "<file_id>",      "content": "<content>",      "confirm": "<confirm>"    }  }}