Set source
set_sourceAdd a source to a project's register, or change one — its key, authors, title, year, venue, identifiers or PDF — or say how far it is checked. A source is named by 'id', or by 'project' and 'key': one that does not exist yet is created (with 'title'), unchecked. A field left out keeps its value and an empty one clears it; 'authors' given replaces the whole list. Identifiers are kept in one shape whatever they are pasted as (arXiv without 'arXiv:' and with its version, a DOI without https://doi.org/, 'MR' and digits, zbMATH without 'Zbl', an ISBN's digits with its checksum held), and each is once per project — a second source with the same one is refused, naming the first. 'check' moves the check by hand, with a line in its journal: 'manual' (you checked it against the original — say against what in 'reason'), 'mismatch' (it disagrees with what it names — 'reason' says how; required) or 'unchecked'; 'api' is written only by the check against the services. Changing the authors, title, year, venue or an identifier of a checked source takes it back to unchecked: what was checked is no longer there. Members of the project who may write only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The source to change, as list_sources returned it. Or name it by 'project' and 'key'. | |
| mr | No | The Mathematical Reviews number, e.g. 'MR1234567'. | |
| doi | No | The DOI, e.g. '10.4007/annals.2024.199.1.3'. | |
| key | No | The source's key, e.g. 'IMP26' — a letter or digit, then letters, digits and ':', '.', '_', '-', '+'; once per project, case aside. | |
| isbn | No | The ISBN, ten or thirteen digits. | |
| year | No | The year it appeared; 0 clears it. | |
| arxiv | No | The arXiv id, with its version where it matters: '2301.01234v3', 'math/0601001'. | |
| check | No | How far it is checked, by hand: 'manual', 'mismatch' or 'unchecked'. | |
| title | No | Its title. | |
| venue | No | The journal, series or publisher, e.g. 'Ann. of Math.'. | |
| newKey | No | A new key for an existing source. | |
| reason | No | With 'check': against what it was checked, or how it disagrees — at most 1000 characters. | |
| zbmath | No | The zbMATH number, e.g. '1234.56789'. | |
| authors | No | Its authors in the work's order, as a JSON array replacing the list: [{"name":"N. D. Gupta"},{"name":"S. Sidki","person":42}] — 'name' as the work prints it, 'person' a person of the project's register you may see (find_person), optional. A person without a name takes the name the register shows. | |
| project | No | The project key, e.g. MATH. | |
| pdfAttachment | No | Its PDF: the id of an issue's attachment you may open; 0 takes the PDF off. | |
| pdfWikiAttachment | No | Its PDF: the id of a wiki page's attachment you may open; 0 takes the PDF off. |