microcms_get_media
Retrieve media files from microCMS including URLs and image dimensions. Supports pagination with continuation tokens and filtering by filename or image-only.
Instructions
Get media files from microCMS (Management API). Returns media information including URLs, dimensions for images. Supports pagination via token (15-second validity). Requires media retrieval permissions.
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": "microcms_get_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of media to retrieve (max 100, default 10). Only valid on first request. | |
| token | No | Continuation token for pagination (obtained from previous response, 15-second validity) | |
| fileName | No | Filter media by partial filename match (includes file extension) | |
| imageOnly | No | Set to true to retrieve only image files. Only valid on first request. | |
| serviceId | No | Service ID (required in multi-service mode, optional in single-service mode) |