Discord
Overview
SLUG: DISCORD
Description
An instant messaging and VoIP social platform.
Authentication Details
OAuth2
Bearer Token
Connecting to Discord
Create an auth config
Use the dashboard to create an auth config for the Discord toolkit. This allows you to connect multiple Discord accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Integration”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using OAuth2
Using Bearer Token
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Discord toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
DISCORD_GET_INVITE
Tool Name: Get Invite
Description
Action Parameters
Action Response
DISCORD_GET_MY_GUILD_MEMBER
Tool Name: Get my guild member
Description
Action Parameters
Action Response
DISCORD_GET_MY_OAUTH2_AUTHORIZATION
Tool Name: Get my OAuth2 authorization
Description
Action Parameters
Action Response
DISCORD_GET_MY_USER
Tool Name: Get my user
Description
Action Parameters
Action Response
DISCORD_LIST_MY_CONNECTIONS
Tool Name: Retrieve user connections
Description
Action Parameters
Action Response
DISCORD_LIST_MY_GUILDS
Tool Name: List my guilds
Description
Action Parameters
Action Response