Get a Pexels Photo by ID
pexels_get_photoFetch a Pexels photo by its unique ID and present it as a Markdown image link with photographer credit.
Instructions
Fetch one Pexels photo by id.
USE WHEN you have a photo id (previous search result, or extracted
from a pexels.com URL ending in -<id>).
DO NOT USE for discovery — call pexels_search_photos. No guessed ids.
Render image_url as Markdown link; credit photographer.
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": {
"photo_id": "<photo_id>"
},
"name": "pexels_get_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo | Yes |