microcms_get_media
Retrieve media files from microCMS, including URLs and image dimensions. Supports filtering by filename, image type, and pagination with a 15-second token. Requires media retrieval permissions.
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.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
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. | |
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) |
Input Schema (JSON Schema)
{
"properties": {
"fileName": {
"description": "Filter media by partial filename match (includes file extension)",
"type": "string"
},
"imageOnly": {
"description": "Set to true to retrieve only image files. Only valid on first request.",
"type": "boolean"
},
"limit": {
"description": "Number of media to retrieve (max 100, default 10). Only valid on first request.",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"token": {
"description": "Continuation token for pagination (obtained from previous response, 15-second validity)",
"type": "string"
}
},
"required": [],
"type": "object"
}