arcade-mcp/toolkits/slack_api/arcade_slack_api/wrapper_tools/PinItemToSlackChannel.json
2025-09-23 13:48:21 -03:00

141 lines
4 KiB
JSON

{
"name": "PinItemToSlackChannel",
"fully_qualified_name": "SlackApi.PinItemToSlackChannel@0.1.0",
"description": "Pin an item to a Slack channel.\n\nUse this tool to pin an item to a specific channel in Slack, enhancing visibility for important content.",
"toolkit": {
"name": "ArcadeSlackApi",
"description": null,
"version": "0.1.0"
},
"input": {
"parameters": [
{
"name": "channel_id",
"required": true,
"description": "The ID of the Slack channel where the message will be pinned. A `timestamp` must also be provided.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"inferrable": true,
"http_endpoint_parameter_name": "channel"
},
{
"name": "message_timestamp",
"required": false,
"description": "The timestamp (`ts`) of the message to pin in the Slack channel. Ensure the channel is also specified.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"inferrable": true,
"http_endpoint_parameter_name": "timestamp"
}
]
},
"output": {
"description": "Response from the API endpoint 'pins.add'.",
"available_modes": [
"value",
"error",
"null"
],
"value_schema": {
"val_type": "json",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
}
},
"requirements": {
"authorization": {
"provider_id": "arcade-slack",
"provider_type": "oauth2",
"id": null,
"oauth2": {
"scopes": [
"pins:write"
]
}
},
"secrets": null,
"metadata": null
},
"deprecation_message": null,
"metadata": {
"object_type": "api_wrapper_tool",
"version": "1.0.0",
"description": "Arcade Wrapper Tools enabling LLMs to interact with low-level Slack API endpoints."
},
"http_endpoint": {
"metadata": {
"object_type": "http_endpoint",
"version": "1.0.0",
"description": ""
},
"url": "https://slack.com/api/pins.add",
"http_method": "POST",
"headers": {
"Content-Type": "application/x-www-form-urlencoded"
},
"parameters": [
{
"name": "channel",
"tool_parameter_name": "channel_id",
"description": "Channel to pin the message to. You must also include a `timestamp` when pinning messages.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"accepted_as": "body",
"required": true,
"deprecated": false,
"documentation_urls": []
},
{
"name": "timestamp",
"tool_parameter_name": "message_timestamp",
"description": "Timestamp of the message to pin. You must also include the `channel`.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": null
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"documentation_urls": []
}
],
"documentation_urls": [
"https://docs.slack.dev/reference/methods/pins.add"
],
"secrets": [
{
"arcade_key": "auth_token",
"parameter_name": "Authorization",
"accepted_as": "header",
"formatted_value": "Bearer {authorization}",
"description": "The OAuth token to use for authentication.",
"is_auth_token": true
}
]
}
}