revise approved fact
revise_approved_factRevise an approved metric, customer proof, or discount rule, including LOCKED facts, while preventing conflicting overwrites. Requires expectedRevision so edits stay consistent and retries leave history unchanged.
Instructions
Owner revision of an existing metric, customer proof, or discount rule, including a LOCKED fact. Preserve the existing title and kind. For customer proof, pass customerName only when the owner recorded it; omitting it clears the name and the result says the customer name is not approved. Requires expectedRevision from retrieval. Conflicting edits fail without overwriting. Identical retries leave history unchanged.
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": {
"productId": "<productId>",
"title": "<title>",
"status": "<status>",
"content": "<content>",
"revisionReason": "<revisionReason>",
"expectedRevision": "<expectedRevision>",
"kind": "<kind>"
},
"name": "revise_approved_fact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| tags | No | ||
| title | Yes | ||
| status | Yes | ||
| content | Yes | ||
| productId | Yes | ||
| customerName | No | ||
| revisionReason | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |