Slack
SLACKBOT_UPDATES_AN_EXISTING_REMOTE_FILE
Updates metadata or content details for an existing remote file in Slack; this action cannot upload new files or change the fundamental file type.
Remote slackbot
Other tools also called SLACKBOT_UPDATES_AN_EXISTING_REMOTE_FILE?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"file": {
"type": "string",
"title": "File",
"examples": [
"F0123ABC456",
"F7890XYZ123"
],
"description": "Slack's unique identifier for the remote file (e.g., `F12345678`). Used to identify the file if `external_id` is not provided. One of `file` or `external_id` is required to specify the file to update."
},
"title": {
"type": "string",
"title": "Title",
"examples": [
"Updated Project Proposal Q3",
"Final Presentation Draft"
],
"description": "New title for the remote file. If omitted, the current title remains unchanged."
},
"token": {
"type": "string",
"title": "Token",
"description": "Authentication token for authorizing the API request to Slack."
},
"filetype": {
"type": "string",
"title": "Filetype",
"examples": [
"pdf",
"jpg",
"gdoc",
"sketch",
"txt",
"mp4",
"zip"
],
"description": "New filetype for the remote file. This typically describes the kind of file, e.g., `pdf`, `gdoc`, `image`, `text`. See Slack API documentation for specific supported `filetype` values. Providing an inaccurate filetype might affect how the file is handled or displayed."
},
"external_id": {
"type": "string",
"title": "External Id",
"examples": [
"item_12345_report_2024",
"guid-doc-xyz-final"
],
"description": "Creator-defined Globally Unique Identifier (GUID) for the remote file. Used to identify the file if `file` ID is not provided. One of `file` or `external_id` is required to specify the file to update."
},
"external_url": {
"type": "string",
"title": "External Url",
"examples": [
"https://example.com/updated_document.pdf",
"https://docs.google.com/spreadsheets/d/new_sheet_id_v2"
],
"description": "New publicly accessible URL for the remote file. If provided, this updates the link associated with the file in Slack."
},
"preview_image": {
"type": "string",
"title": "Preview Image",
"description": "A string that references the new preview image for the document. The referenced image data will be sent as `multipart/form-data`. This could be a local file path (if supported by the client), a public URL, or base64 encoded image data. Max 1MB. Updates the file's preview in Slack."
},
"indexable_file_contents": {
"type": "string",
"title": "Indexable File Contents",
"description": "Plain text content extracted from the remote file, used by Slack to improve searchability. This can be a summary or the full text. Maximum 1MB. If provided, updates the searchable content."
}
}
}