Search stock photos
search_stock_photosSearch free stock photos (Pexels or Unsplash) to illustrate a post. Returns photos with id, provider, a preview_url you can show the user, size and the photographer. Use add_stock_photo with the chosen provider and id to put it in the Media Library (with the photographer credit) and get a media_uid for create_post. Short, visual queries work best (e.g. "latte art on wooden table").
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": {
"query": "<query>"
},
"name": "search_stock_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| query | Yes | What the photo should show | |
| shape | No | Default any | |
| source | No | Default: the first available (providers lists which are available) | |
| workspace_uid | No | uid from list_workspaces; omit for the default |