# Post a test message to verify delivery

Tool: `veryfront__check_channel`

Test channel message delivery. Requires project.channels.write.

## Arguments

| Name                | Type                                    | Required | Description                                                                                                                                                                                                               |
| ------------------- | --------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `project_reference` | string                                  |          | Project ID or slug. Requires a person's credential; agent, run, and service-account callers are forbidden.                                                                                                                |
| `channel_id`        | string · uuid                           | Yes      | Channel ID from list\_channels                                                                                                                                                                                            |
| `slack_channel_id`  | string · min length 1 · max length 255  | Yes      | Slack channel for the test message. Slack refusals return status failed with a failure code. A missing Slack connection returns validation-failed; a transient connection refresh failure returns external-service-error. |
| `text`              | string · min length 1 · max length 4000 |          | Message text, 1-4000 characters; default 'Veryfront Slack connection test'                                                                                                                                                |

## Responses

| Status | Description                                           |
| ------ | ----------------------------------------------------- |
| 200    | The tool ran; its output is result.structuredContent. |

## Call it

```bash
curl -X POST -N "https://api.veryfront.com/mcp" \
  -H "Authorization: Bearer $VERYFRONT_API_KEY" \
  -H "Accept: application/json, text/event-stream" \
  -H "Content-Type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__check_channel",
    "arguments": {
      "channel_id": "00000000-0000-0000-0000-000000000000",
      "slack_channel_id": "string"
    }
  }
}'
```

## Example response

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"channel_id\":\"00000000-0000-0000-0000-000000000000\",\"slack_channel_id\":\"string\",\"status\":\"delivered\",\"message_id\":\"string\",\"failure_code\":\"not_in_channel\",\"retryable\":false,\"checked_at\":\"string\"}"
      }
    ],
    "structuredContent": {
      "channel_id": "00000000-0000-0000-0000-000000000000",
      "slack_channel_id": "string",
      "status": "delivered",
      "message_id": "string",
      "failure_code": "not_in_channel",
      "retryable": false,
      "checked_at": "string"
    }
  }
}
```
