add_record
Append a validated evidence record to a JSON Lines ledger, automatically assigning IDs, quote hashes, and provenance before returning the stored entry.
Instructions
Append a record. The server assigns id, claim_id (unless given), quote_hash and the
provenance date, validates the result and returns the stored record. Mark the phrase
carrying the claim (a number, term or short statement) with optional quote_focus. Source
text belongs only in quote, quote_prefix, quote_suffix and quote_focus: write
justification, locator (including a section heading) and note in your own words, since
they are exported with masked and locator ledgers; a record that repeats 24 or more letters
and digits of its own quote in another field is refused, naming the field. A project with
several ledgers keeps ids unique across them: pass the other ledgers' paths as related
every time: the new id and claim_id are numbered past those of all of them, and claim
and importance must agree with the records of the same claim in them.
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": {
"path": "<path>",
"record": "<record>",
"provenance": "<provenance>"
},
"name": "add_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| record | Yes | ||
| related | No | ||
| provenance | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |