Upload product PDF
shop_upload_product_pdfDownload a PDF from a URL and attach it to a product (multipart upload). Guidance: Download a PDF from a URL and attach it to a product (multipart upload). | context: product_id, pdf
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": {
"product_id": "<product_id>",
"pdf": "<pdf>"
},
"name": "shop_upload_product_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Public URL of the PDF to download and upload | ||
| pdf_name | No | Display name (default: filename from URL) | |
| product_id | Yes | Numeric id of the product to attach the PDF to. |