Get media
postfjord_get_mediaOne file in the media library by id, as postfjord_list_media shows it, and for a picture that is ready previews: a link (valid one hour) with width and height for each stored shape (original, 1x1, 4x5, 16x9, 9x16), so you can see how a crop would look before choosing a shape. A channel's own crop (a focus, a zoom, or whole) shows in postfjord_preview_post. Use it after postfjord_upload_media to see when the file is ready: a picture takes a few seconds, a video up to a minute.
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": "postfjord_get_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mediaId | Yes | A media id, from postfjord_list_media or postfjord_upload_media. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| kind | No | ||
| name | No | ||
| status | No |