> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack: Actions/update Message

> Update a message authored by the connected Slack bot (chat.update), including replacing a HITL prompt with the action taken after timeout.

Update a message authored by the connected Slack bot (chat.update), including replacing a HITL prompt with the action taken after timeout.

<Info>
  Tool ID: `slack_update_message`
</Info>

## Run this action

This action has conditional or dynamic input fields that cannot be represented by a reliable static example.

Inspect the live contract before executing it:

```bash theme={null}
deepline tools get slack_update_message --json
```

## Example response

The static output schema is not detailed enough to generate a reliable example. Use `deepline tools get slack_update_message --json` for the complete live contract.

## Input reference

Update a message authored by the connected Slack bot using chat.update. Provide channel, ts, and at least one field to change. Empty blocks or attachments arrays remove existing content. markdown\_text cannot be combined with text or blocks.

| Name                           | Type               | Required | Default | Details                                                                                                                                                    |
| ------------------------------ | ------------------ | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `payload.channel`              | `string`           | Yes      | —       | Conversation ID containing the message. For DMs, use the D-prefixed conversation ID, not a user ID. Minimum length: 1. Pattern: `\S`.                      |
| `payload.ts`                   | `string`           | Yes      | —       | Timestamp of the message to update, as a string. Use message\_ref.ts from HITL or data.ts from a posted message. Minimum length: 1. Pattern: `^\d+\.\d+$`. |
| `payload.text`                 | `string`           | No       | —       | Slack message text. Recommended accessibility fallback when blocks or attachments are supplied.                                                            |
| `payload.blocks`               | `array`            | No       | —       | Maximum items: 50.                                                                                                                                         |
| `payload.attachments`          | `array`            | No       | —       | —                                                                                                                                                          |
| `payload.unfurled_attachments` | `array`            | No       | —       | —                                                                                                                                                          |
| `payload.markdown_text`        | `string`           | No       | —       | Maximum length: 12000.                                                                                                                                     |
| `payload.metadata`             | `record`           | No       | —       | —                                                                                                                                                          |
| `payload.as_user`              | `boolean`          | No       | —       | —                                                                                                                                                          |
| `payload.link_names`           | `boolean`          | No       | —       | —                                                                                                                                                          |
| `payload.parse`                | `"none" \| "full"` | No       | —       | Allowed: `none`, `full`.                                                                                                                                   |
| `payload.reply_broadcast`      | `boolean`          | No       | —       | —                                                                                                                                                          |
| `payload.file_ids`             | `array`            | No       | —       | —                                                                                                                                                          |

<Info>
  This input schema is too large to embed without slowing the page. Get the complete live contract with `deepline tools get slack_update_message --json`.
</Info>

## Output reference

Standard tool result payload.

| Name          | Type     | Required | Default | Details                       |
| ------------- | -------- | -------- | ------- | ----------------------------- |
| `result.data` | `record` | Yes      | —       | Provider response payload.    |
| `result.meta` | `record` | No       | —       | Additional response metadata. |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "additionalProperties": {}
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata.",
        "additionalProperties": {}
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Slack provider guide](/docs/providers/slack/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
