submit
Submit a claimset for publication. A claimset whose artefacts name files by a relative path
(files/results.csv) is published with those files, so EntryLib needs its package; choose the first route
that works for you:
1. upload_id: get an address with upload_url, send the package there with one request from where it is
(curl --fail -T paper.zip <url>), and give its upload_id. The file never passes through you.
2. package_with_consent: give the claimset alone with package_with_consent true when you cannot send a request.
Give your human the package (the zip claimset package builds) with the consent link: they attach it on the
consent page, which checks it holds this claimset, and then confirm.
3. files: for a few small text files only, give the claimset with their contents ({"path": "<the artefact's
uri>", "text": ""}); EntryLib builds the package. Copy each exactly: a file whose checksum differs
from the version its artefact records is refused (claimset package --update records them).
4. package_url: an https URL where the package is deposited (a commit on GitHub, Zenodo).
A claimset whose files are all deposited elsewhere, named by https URLs, or that names no file, is given alone.
Never send a claimset without the files it names otherwise: it is refused (rule 70). Binary content is never
sent in a call: base64 is not accepted.
A valid submission is held for 48 hours. The response's `consent` gives a link for the guarantor: give it to
your human, who signs in with ORCID and confirms; then it is published. The link is shown only in this response.
Use submission_status with the response's id to follow it. A new version of a published claimset sets paper.id
to its identifier; set new_paper only for a different paper whose title is the same as one the guarantor already
has.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": "submit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | ||
| claimset | No | ||
| new_paper | No | ||
| upload_id | No | ||
| package_url | No | ||
| package_with_consent | No |