Save the attorney's edits to a draft
edit_work_productUse only to save words the member wrote or clearly approved. Creates a new version marked as edited by the attorney; earlier versions are kept. For a lawyer or staff member of a law office signed in to ESQ CoPilot for their office. Do not call it for a person looking for a lawyer (use search_attorneys) or for general legal questions.
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": {
"work_product_id": "<work_product_id>",
"expected_version": "<expected_version>"
},
"name": "edit_work_product"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | No | ||
| body_text | No | ||
| attorney_note | No | ||
| work_product_id | Yes | ||
| expected_version | Yes |