set_drafting_instruction

Set one drafting instruction

All MCP toolsWrite

Rewrite the person's instruction for ONE moment — match (answering a job that arrived on a match card) or outreach (reaching out to a job the person found) — or pass null to return that moment to matchwire's default. Read get_drafting_instructions first; it shows the text in force. The text is the person's own words about how the draft should be written (its voice, length, what comes first, formal or plain), 1 to 1000 characters after trimming; empty text refuses with zero writes, and text identical to the default returns the moment to the default rather than pinning a copy. The fixed rules stay above any instruction: a draft carries no name, contact detail or private condition, and invents no fact. The change reaches the next draft matchwire prepares — a standing card's draft stays as it is until the person empties the note box on their screen and presses its draft button. Nothing is sent by this.

Input schema

{
  "type": "object",
  "properties": {
    "personId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "The person whose instruction to set (persons.id — self)."
    },
    "moment": {
      "type": "string",
      "enum": [
        "match",
        "outreach"
      ],
      "description": "Which moment the instruction is for: match or outreach."
    },
    "instruction": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 1000
        },
        {
          "type": "null"
        }
      ],
      "description": "The person's instruction, 1–1000 characters — or null to return the moment to the default."
    }
  },
  "required": [
    "personId",
    "moment",
    "instruction"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

{
  "type": "object",
  "properties": {
    "personId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "moment": {
      "type": "string",
      "enum": [
        "match",
        "outreach"
      ]
    },
    "instruction": {
      "type": "string",
      "description": "The instruction in force after the call."
    },
    "isDefault": {
      "type": "boolean",
      "description": "True when the moment now reads matchwire's default."
    }
  },
  "required": [
    "personId",
    "moment",
    "instruction",
    "isDefault"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

On this page