Register a video upload
pinterest_register_mediaRegisters a video upload to receive one-time S3 form fields, then POST the video and use the media_id to create a Pinterest pin.
Instructions
Step 1 of video pin creation: register an upload and receive one-time S3 form fields. POST the video to upload_url with those upload_parameters as multipart form fields, poll pinterest_get_media until status is 'succeeded', then pass the media_id to pinterest_create_pin with source_type 'video_id'. Scope: pins:write.
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": {
"media_type": "<media_type>"
},
"name": "pinterest_register_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media_type | Yes | Only 'video' is supported by the v5 media endpoint. |