Memory, write

Add reply rule

Add a reply rule: when a post fits it, the next reply draft follows it first. No model call, no charge.

write

MCP

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

Input

project_idrequireduuid
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.