Add a stock photo to the media library
add_stock_photoCopy a photo found with search_stock_photos into the Media Library, named with the photographer credit. Returns media_uid (for create_post media_uids) and its url.
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": {
"provider": "<provider>",
"id": "<id>"
},
"name": "add_stock_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | id from search_stock_photos | |
| provider | Yes | provider from search_stock_photos | |
| workspace_uid | No | uid from list_workspaces; omit for the default |