List media
list_mediaList media library items with pagination and optional MIME type prefix filter, requiring media:read scope.
Instructions
Lists items in the media library, paginated. Optionally filter by MIME type prefix (e.g. 'image'). Requires the media:read scope.
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 |
|---|---|---|---|
| page | No | Page number (1-based). Default: 1. | |
| type | No | Filter by MIME type prefix (e.g. 'image'). | |
| perPage | No | Records per page, max 100. Default: 20. |