List media
postfjord_list_mediaImages and videos in the media library, newest first: id, kind, status (processing, ready or failed, with the error), name, alt text, size in bytes, width and height, durationSec for a video, and a thumbnail URL for a picture (a video has none yet). Use the ids as mediaIds.
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": "postfjord_list_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many files at most. | |
| status | No | Only files in this state. ready: the ones a post can use now. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | The files, newest first. |