List media library
list_mediaList the images and videos in the media library whose upload has completed (newest first), paginated. (Required scope: cd.media.write)
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 | ||
| limit | No | ||
| workspaceId | No | Optional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to. |