get_agreement
Read one agreement record
All MCP toolsRead
Start with get_patrol_digest, whose open items of kind agreement name the record; then read it here: which company recorded it, when, and the chat the terms live in — nothing of the terms is recorded anywhere. answered is false while the item waits in Decisions; answer_agreement answers it. A record that is not this person's refuses with not_found.
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 the record is about (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 (agreements.id)."
}
},
"required": [
"personId",
"agreementId"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}Output schema
{
"type": "object",
"properties": {
"agreement": {
"type": "object",
"properties": {
"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 (agreements.id)."
},
"companyName": {
"type": "string",
"maxLength": 1000,
"description": "The organization that recorded the agreement."
},
"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 agreement was recorded in (threads.id)."
},
"recordedAt": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
"description": "When the company recorded it (ISO 8601, UTC)."
},
"answered": {
"type": "boolean",
"description": "true once the person answered; false while the item sits in Decisions."
},
"answer": {
"anyOf": [
{
"type": "string",
"enum": [
"proceed",
"decline"
]
},
{
"type": "null"
}
],
"description": "The person's answer: \"proceed\" (the chat's topic became the agreed terms) or \"decline\"; null while open."
},
"answeredAt": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"
},
{
"type": "null"
}
],
"description": "When the person answered (ISO 8601, UTC); null while open."
}
},
"required": [
"agreementId",
"companyName",
"threadId",
"recordedAt",
"answered",
"answer",
"answeredAt"
],
"additionalProperties": false,
"description": "One agreement record as the person reads it — open or answered. Nothing of the terms is recorded."
}
},
"required": [
"agreement"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}