List pictures in a Library folder
list_library_assetsUse this to browse one shared folder from list_library_folders, newest first. Returns each picture's id, kind (photo or video), when it was taken, its size and length, and ready: true when its original is already prepared for posting; problem names why it cannot be (too_large, export_failed, unavailable, disk_full), and then create_post refuses it with library_asset_unusable: choose another. Pictures the person marked private are not listed. Pass nextCursor back as cursor for the next page. To see what a picture looks like, call get_library_asset.
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": {
"folder": "<folder>"
},
"name": "list_library_assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to return, at most 40 (default 40). | |
| cursor | No | nextCursor from the previous page; leave out for the first. | |
| folder | Yes | A folder id from list_library_folders. |