Get Channel
get_channelRetrieve a Mattermost channel by ID, name, team ID, or team name to return its ID, display name, type, header, and purpose for channel lookups.
Instructions
Look up a channel by ID, or by its name (the URL slug, e.g. "town-square").
Pass channel_id, or name. With name alone, searches the channels you are a member of; add team_id or team_name to look up any channel in a team.
Returns {id, name, display_name, type, team_id, header, purpose}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| team_id | No | ||
| team_name | No | ||
| channel_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||