send_code_snippet
Share formatted code snippets in Slack channels with syntax highlighting. Specify the channel, title, code, optional language, and description for clear communication.
Instructions
Send a formatted code snippet message.
Args: channel: Channel ID or name title: Code snippet title code: The code content language: Programming language for syntax highlighting (optional) description: Optional description thread_ts: Thread timestamp for replies (optional)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
channel | Yes | ||
code | Yes | ||
description | No | ||
language | No | ||
thread_ts | No | ||
title | Yes |
Input Schema (JSON Schema)
{
"properties": {
"channel": {
"title": "Channel",
"type": "string"
},
"code": {
"title": "Code",
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Language"
},
"thread_ts": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Thread Ts"
},
"title": {
"title": "Title",
"type": "string"
}
},
"required": [
"channel",
"title",
"code"
],
"type": "object"
}