List Media
list_mediaList media that can be attached to posts. With workspaceId, returns that workspace's media library (the files uploaded in the PostPlanify dashboard) plus files uploaded through the API/MCP. Without workspaceId, returns only files uploaded through the API/MCP. Both kinds of media ids work in create_post. Each item has a "source" of "library" or "upload".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Library page number (default 1). | |
| type | No | Filter library media by type. | |
| pageSize | No | Library items per page (default 50, max 100). | |
| workspaceId | No | Workspace ID. Needed to include the workspace's dashboard media library; without it only API/MCP uploads are returned. |