channel_export
Export a Discord channel or thread history to a local file as a readable markdown transcript or JSONL, with limit, before/after and ID filtering to scope the messages saved.
Instructions
Write a channel/thread history to a local file: format "markdown" (readable transcript) or "jsonl" (one raw message per line). limit up to 5000; after/before take ids, links or times.
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": {
"channel": "<channel>",
"path": "<path>"
},
"name": "channel_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot | No | ||
| path | Yes | ||
| after | No | ||
| guild | No | ||
| limit | No | ||
| before | No | ||
| format | No | markdown | |
| channel | Yes |