add_video
Safely import an HTTPS video into the contractor's media library. Boatwork MCP downloads the source through public-network-only, DNS-pinned HTTPS with a strict 100MB/MIME cap, then uses the durable reserve → exact-header PUT → malware-scan → completion flow. thumbnailUrl, when supplied, must already be on Boatwork S3. Reuse clientUploadId when retrying the same logical import.
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": {
"url": "<url>",
"proAccessToken": "<proAccessToken>"
},
"name": "add_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public HTTPS video source URL. Private-network targets are rejected. | |
| title | No | Human-readable label for the video. Used as the dashboard tile name, alt-text on the public /pro/<slug>/ page, and SEO signal. Example: 'Bahamas marine services — bottom paint demo'. Omit only if you truly have no context. | |
| duration | No | Seconds. | |
| orderIndex | No | ||
| showOnSocial | No | Default true. False = exclude from social posts (independent of showOnWebsite). | |
| thumbnailUrl | No | https URL on Boatwork S3. Optional — videos without a thumbnail render as a black tile in the dashboard until played. | |
| showOnWebsite | No | Whether the item shows in the public storefront gallery. Omit it when the upload is for a social post: on a storefront with Presence the server then follows the owner's setting 'Add photos and videos you post to your storefront gallery', which is off unless the owner turned it on (a storefront without Presence shows the item). Pass true only when the owner asked for this item on their storefront. Pass false to keep it out. | |
| clientUploadId | No | Optional idempotency key. Reuse it only when retrying this exact file. | |
| proAccessToken | Yes | The proAccessToken printed by confirm_pro_signup or renew_pro_access. It names the pro's storefront for this call and is valid for 24 hours. |