Add/update a research source
add_sourceSave a research source (paper, article, reference) into a project board's sources library. Supports local files, URLs, or direct text input with automatic metadata extraction.
Instructions
Save a research source (paper, article, reference) into a board's sources/ library — one file per source, separate from the synthesized kb/ notes, stored under a citation header (title, source/author, url, ticket, tags) and indexed into the RAG (source/). THREE ways to supply the text, in priority order: (1) path= a local file — .pdf (optional pdf-parse dep), .html, or any text/markdown is read + extracted automatically; (2) url= a web page or PDF — fetched and extracted automatically (title/source auto-filled); (3) text= the raw text directly. With url/path, title/source are auto-detected (override by passing them). If a PDF is scanned or a page is JS-rendered, the tool returns { needsText: true, reason } — read it yourself and call again with text=. Calling again with the SAME title updates in place. Use this for the sources; use add_kb_doc / append_research for YOUR notes about them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Web page or PDF to fetch + extract automatically. | |
| path | No | Local file (.pdf/.html/.txt/.md) to read + extract automatically. | |
| tags | No | Topical tags. | |
| text | No | Raw text, if supplying it directly instead of url/path. | |
| title | No | Human title; auto-detected from url/path when omitted. Slugified to the filename. | |
| source | No | Author / publication / origin (auto-filled from url host when omitted). | |
| ticket | No | Ticket this source supports (e.g. FBF-12). | |
| project | Yes |