List channel files
teams_list_channel_filesList files and folders stored in a Microsoft Teams channel's Files tab. Specify team and channel IDs to retrieve item details like name, size, and URL.
Instructions
List files and folders stored in a channel's Files tab (the channel's SharePoint-backed document folder).
Args:
team_id (string): the team ID
channel_id (string): the channel ID
limit (number, 1-50): max items (default 20)
response_format ('markdown' | 'json'): output format (default markdown)
Returns: JSON { count, items: [{ id, name, type, size, webUrl, lastModifiedDateTime }] }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"team_id": "<team_id>",
"channel_id": "<channel_id>"
},
"name": "teams_list_channel_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return (1-50) | |
| team_id | Yes | The Microsoft Teams team (group) ID. Get it from teams_list_joined_teams. | |
| channel_id | Yes | The channel ID (e.g. '19:...@thread.tacv2'). Get it from teams_list_channels. | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for machine-readable | markdown |