Comment on photo

Add a comment to a photo, as you.

POST https://cotlet.dev/api/v1/flickr/photos/{photo_id}/replies

write Confirm

Adds a comment to a photo, under your name. Use it to answer a comment from list_comments, or to comment on a photo you can see. The comment is public to everyone who can open the photo. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: comment_on_photo
NameTypeDescription
photo_id string required string Photo ID from list_photos.
body string required string Comment text.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/flickr/photos/photo_8c41d2/replies \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"body"}'
Python
result = client.call("flickr", "comment_on_photo", {"photo_id":"photo_8c41d2","body":"body"})
Node.js
const result = await cotlet.call('flickr', 'comment_on_photo', {"photo_id":"photo_8c41d2","body":"body"});
CLI
cotlet call flickr comment_on_photo --data '{"photo_id":"photo_8c41d2","body":"body"}'

Example response

JSON

{
  "comment_id": "72157720330000111-53917620088-2",
  "photo_id": "53917620088",
  "status": "published"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.