List workspace media
list_mediaList active media in your media libraries. mediaType defaults to VIDEO (MP4/MOV) for compatibility; use IMAGE for JPEG files. Searches ALL your workspaces by default, newest first, and labels each item with its workspace; pass workspaceId to narrow to one (required to page past the newest 100 items). Returned mediaIds work with publish_post and schedule_post for accounts in the same workspace.
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 |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| mediaType | No | VIDEO | |
| workspaceId | No |