move_record
Move a record, including withdrawn ones, between evidence ledgers while keeping its id, claim link and provenance. Validates the record against the destination and related ledgers, rewriting both files all or none.
Instructions
Move a record (withdrawn ones too) from the ledger at path to the ledger at to,
keeping its id, claim_id and provenance, and return it. Refused when both are the same
file, the id is missing from path or already used in to, or the record fails the checks
of add_record against to and the related ledgers (header text, claim text or
importance of its claim). The claim may then span both ledgers: pass the project's other
ledgers as related to later calls so it stays consistent. Both files are rewritten
together, to first, all or none (on a write error the one already replaced is restored).
The id is not reused as long as related lists every ledger of the project each time.
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>",
"id": "<id>",
"to": "<to>"
},
"name": "move_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| to | Yes | ||
| path | Yes | ||
| related | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |