Pexels Photo
pexels_photoFetch full metadata for a single Pexels photo by numeric id, including all sized image URLs, photographer name/URL, dimensions, and alt text.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": 45890
},
"name": "pexels_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Photo ID | |
| alt | No | Alt text for photo | |
| src | No | Image sources in different sizes | |
| url | No | URL to photo page | |
| liked | No | Whether photo is liked by user | |
| width | No | Photo width in pixels | |
| height | No | Photo height in pixels | |
| avg_color | No | Average color of photo as hex | |
| photographer | No | Photographer name | |
| photographer_id | No | Photographer ID | |
| photographer_url | No | URL to photographer profile |