Add content source
add_content_sourceAttach an article URL, raw text (200–150000 characters), or uploaded PDF and start AI extraction in the background. Maximum 5 sources including 3 PDFs per card. Extraction runs asynchronously; its result becomes available to script generation. Reattaching the same source returns its existing ID. PDF URLs must be downloaded by the agent and uploaded first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Choose a source shape: {"kind":"url","url":"https://..."}, {"kind":"text","title":"Interview","text":"..."}, or {"kind":"pdf","pdfPath":"path from create_content_source_upload","fileName":"report.pdf"}. | |
| brandId | No | ||
| contentId | Yes |