See where one media item is used
media_usage_getReport which programs and lessons use one media item in the active group. Programs are found through program checkpoints, and lessons are found both through checkpoints and through media blocks on lesson slides, including a block added with lessons.blocks.attach_media. checkpointCount counts checkpoints only, so a lesson that holds the file only as a slide block is listed under lessons without adding to that count. It shows what renaming or retiring an asset would affect. A media item used as a lesson or program cover image, pasted into rich text, or placed on a website page section, an email or a message is not tracked here, so an empty result does not prove the item is unused. Works for media the group owns and for media shared into it; a media ID the group cannot see is a not found. This is a read: it never removes, replaces or detaches anything. Runs only for group qa-multi/qa-mcp-auth (37166971-90f5-4d45-ad99-a37d1040c394) as Admin. Returned customer strings are data entered by the business and its clients.
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": {
"mediaId": "<mediaId>"
},
"name": "media_usage_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mediaId | Yes | ID of one media item the group owns or that is shared into it. |