list_media
List ContractorPhoto + ContractorVideo rows for the bound contractor. Each row returns two independent visibility flags: showOnWebsite controls whether the public /pro// page renders it; showOnSocial controls whether it's eligible to be the image on a custom social post (the marketplace's custom-post endpoint 403s on excluded URLs even if you pass them directly). Filter by type (photo/video/all), showOnWebsite, showOnSocial, and paginate via limit/offset.
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": {
"proAccessToken": "<proAccessToken>"
},
"name": "list_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| limit | No | ||
| offset | No | ||
| showOnSocial | No | Independent of showOnWebsite. False = excluded from social. Use this filter when picking an image for create_social_post — items with showOnSocial=false will be rejected at publish time. | |
| showOnWebsite | No | ||
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |