answer_agreement

Answer an agreement record

All MCP toolsWrite

Answer a company's record of terms agreed independently of any job posting, as the person. proceed: the chat's topic becomes the agreed terms and the company is notified; history keeps only the sentence that the agreement is independent of any job posting — nothing of the terms is recorded. decline: records nothing in history and notifies nobody; the company may record again. The answer is written once. Refuses no_open_agreement when no record of this person by that id awaits an answer, and thread_closed when the chat is a closed record.

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 answering person (persons.id — self)."
    },
    "agreementId": {
      "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 agreement record being answered (agreements.id)."
    },
    "answer": {
      "type": "string",
      "enum": [
        "proceed",
        "decline"
      ],
      "description": "The person's answer: \"proceed\" (the chat's topic becomes the agreed terms; history keeps only the sentence that the agreement is independent of any job posting) or \"decline\" (adds nothing to history; the company may record again)."
    }
  },
  "required": [
    "personId",
    "agreementId",
    "answer"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

{
  "type": "object",
  "properties": {
    "answer": {
      "type": "string",
      "enum": [
        "proceed",
        "decline"
      ],
      "description": "The person's answer: \"proceed\" (the chat's topic becomes the agreed terms; history keeps only the sentence that the agreement is independent of any job posting) or \"decline\" (adds nothing to history; the company may record again)."
    },
    "topicSwitched": {
      "type": "boolean",
      "description": "true iff the chat's topic moved to this agreement (a proceed on an open chat)."
    },
    "threadId": {
      "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 pair's chat the record names (threads.id)."
    },
    "notificationsPublished": {
      "type": "boolean",
      "description": "False when the post-commit notification publish failed — the committed answer stands (row-first); the counterpart may not have been notified."
    }
  },
  "required": [
    "answer",
    "topicSwitched",
    "threadId",
    "notificationsPublished"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

On this page