propose_rewrite
Draft a sentence replacement and validate its LaTeX, citation keys, and language before anything is written to the manuscript.
Instructions
Propose a replacement for one sentence. Validates LaTeX (braces, $, special chars), citation keys (none lost, all new ones in the .bib) and language. Nothing is written until apply_rewrite.
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": {
"claim_id": "<claim_id>",
"new_text": "<new_text>"
},
"name": "propose_rewrite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Why (e.g. 'match the hedging of the source'). | |
| claim_id | Yes | ||
| language | No | Target language. Default: manuscript language. | |
| new_text | Yes | Replacement for the whole sentence, in the manuscript's markup (LaTeX: keep \cite commands, ~, macros). | |
| allow_citation_changes | No | Allow removing/adding citation keys (e.g. to cite the original source). |