list_media
List the user's uploaded HubPost media (IMAGE and VIDEO), newest first. Use it to find the mediaId of a file the user just uploaded through show_upload_widget or uploaded earlier.
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 | Items per page | |
| types | No | Filter by type (VIDEO, IMAGE). Empty returns all | |
| cursor | No | Pass the nextCursor from a previous response to fetch the next page |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | Yes | ||
| hasMore | Yes | ||
| nextCursor | Yes | Pass as cursor to fetch the next page |