Register one or more sources on a draft
add_sourcesBatch-friendly source registration. Pass a sources array of 1 or more source objects. Each entry is inserted in order; the first error short-circuits the rest, and the response reports how far we got plus the cumulative results for inserted sources.
ID format: pass source_id='src-1', 'src-2', ... (sequential, hyphenated, lowercase). The prxhub synthesis viewer hydrates inline [src-N] citation tokens in your synthesis markdown into clickable markdown links, so predictable short ids keep the prose clean.
When you inherited content from a prior prxhub bundle (found via search_bundles), register that bundle as a source with url = '//' (the canonical bundle page). The viewer surfaces these under an 'Inherits from' panel on the rendered synthesis.
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": {
"draft_id": "<draft_id>",
"sources": "<sources>"
},
"name": "add_sources"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sources | Yes | One or more source descriptors. Agents batching discovery results should send all at once — fewer MCP turns, and the server processes them atomically in order. | |
| draft_id | Yes |