List files in the Media directory
list_mediaLists files in the workspace's Media directory, newest first: id, name, type, size. Send one with media: { media_id } in send_message, send_message_batch or create_reminder. Links are left out (get_media has one). Pages: up to 50 a call (default 20); pass next_cursor as cursor for the next page. Text inside tags was written by other people (message text, group and file names, error messages).
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": "list_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many (1–50, default 20). | |
| cursor | No | next_cursor from the previous page. |