Memory, write

Edit reply rule

Rewrite a reply rule whole: its when, its reply and its mode.

write

MCP

Tool nameedit_reply_rule
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "edit_reply_rule",
    "arguments": {
      "project_id": "<uuid>",
      "rule_id": "<uuid>",
      "when": "<string>",
      "reply": "<string>"
    }
  }
}

Input

project_idrequireduuid
rule_idrequireduuid

The rule's id, from list_reply_rules.

whenrequiredstring

When the rule applies, in plain words, up to 200 characters.

replyrequiredstring

The reply as it should go out (as_written) or the approach to take (guide), up to 500 characters. In as_written, {name} marks where the author's first name goes; without it, "Hey Name, " goes first.

modeas_written | guide

as_written sends the text unchanged apart from the greeting; guide steers a fresh reply. Default as_written.

Returns

The rule as saved.