Connect a Slack agent. Requires project.channels.write.
Arguments
project_referencestringProject ID or slug. Requires a person's credential; agent, run, and service-account callers are forbidden.
platformstringrequiredMessaging platform: slack One of
slack.agent_idstring · min length 1requiredAgent ID from listChannelAgents (MCP: list_channel_agents) for the same runtime target
namestring · min length 1 · max length 255Display name, 1-255 characters
respond_tostringWhich Slack messages to answer: mentions, direct_messages or all One of
mentions,direct_messages,all.allowed_slack_channel_idsarray of string · min length 1 · max length 255Slack channel IDs. Overlap with another channel in the same workspace is rejected with resource-already-exists. IDs come from listSlackChannels (MCP: list_slack_channels); empty means every Slack channel the bot is in. A preview_branch target needs at least one.
welcome_messagestring · max length 4000 | nullWelcome message; null clears
error_messagestring · max length 4000 | nullMessage shown when the agent fails; null clears
max_response_tokensinteger · max 65536 | nullMaximum response tokens, 1-65536; null clears
runtime_target_kindstringRuntime target: main_branch, environment or preview_branch One of
main_branch,environment,preview_branch.target_environment_idstring · uuid | nullEnvironment ID; required when runtime_target_kind is environment
target_branch_idstring · uuid | nullBranch ID; required when runtime_target_kind is preview_branch
Responses
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__create_channel", "arguments": { "platform": "slack", "agent_id": "string" } }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"id\":\"00000000-0000-0000-0000-000000000000\",\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"installation_id\":\"00000000-0000-0000-0000-000000000000\",\"platform\":\"slack\",\"name\":\"string\",\"agent_id\":\"string\",\"enabled\":false,\"platform_team_id\":\"string\",\"platform_bot_id\":\"string\",\"workspace_name\":\"string\",\"respond_to\":\"mentions\",\"allowed_slack_channel_ids\":[\"string\"],\"status\":\"connected\",\"welcome_message\":\"string\",\"error_message\":\"string\",\"max_response_tokens\":1,\"runtime_target_kind\":\"main_branch\",\"target_environment_id\":\"00000000-0000-0000-0000-000000000000\",\"target_branch_id\":\"00000000-0000-0000-0000-000000000000\",\"resolved_target\":{\"runtime_target\":{\"kind\":\"main_branch\",\"target_environment_id\":\"00000000-0000-0000-0000-000000000000\",\"target_branch_id\":\"00000000-0000-0000-0000-000000000000\"},\"resolved_environment\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"name\":\"string\"},\"resolved_branch\":{\"id\":\"00000000-0000-0000-0000-000000000000\",\"name\":\"string\"},\"resolved_deployment\":{\"id\":\"string\",\"runtime_version\":\"string\",\"deployment_revision\":\"string\",\"last_deployed_at\":\"string\"},\"resolved_managed_domain\":{\"domain\":\"string\",\"health_url\":\"string\"},\"resolved_invoke_mode\":\"dispatch_override\",\"last_resolution_error\":{\"code\":\"string\",\"retryable\":false,\"message\":\"string\"}},\"created_at\":\"string\",\"updated_at\":\"string\"}" } ], "structuredContent": { "id": "00000000-0000-0000-0000-000000000000", "project_id": "00000000-0000-0000-0000-000000000000", "installation_id": "00000000-0000-0000-0000-000000000000", "platform": "slack", "name": "string", "agent_id": "string", "enabled": false, "platform_team_id": "string", "platform_bot_id": "string", "workspace_name": "string", "respond_to": "mentions", "allowed_slack_channel_ids": [ "string" ], "status": "connected", "welcome_message": "string", "error_message": "string", "max_response_tokens": 1, "runtime_target_kind": "main_branch", "target_environment_id": "00000000-0000-0000-0000-000000000000", "target_branch_id": "00000000-0000-0000-0000-000000000000", "resolved_target": { "runtime_target": { "kind": "main_branch", "target_environment_id": "00000000-0000-0000-0000-000000000000", "target_branch_id": "00000000-0000-0000-0000-000000000000" }, "resolved_environment": { "id": "00000000-0000-0000-0000-000000000000", "name": "string" }, "resolved_branch": { "id": "00000000-0000-0000-0000-000000000000", "name": "string" }, "resolved_deployment": { "id": "string", "runtime_version": "string", "deployment_revision": "string", "last_deployed_at": "string" }, "resolved_managed_domain": { "domain": "string", "health_url": "string" }, "resolved_invoke_mode": "dispatch_override", "last_resolution_error": { "code": "string", "retryable": false, "message": "string" } }, "created_at": "string", "updated_at": "string" } }}The tool ran; its output is result.structuredContent.