# Link Conversation

`people.link_conversation`

Log an existing readable conversation against this person. This adds no recipient and changes no permissions.

[People guide](https://docs.levr.ai/mcp/resources/people.md)

Availability depends on live discovery and your access to the record. Do not infer MCP calls from REST paths.

Operation: write. Required OAuth scopes: mcp.

## Provider portal input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "client_request_id": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "conversation_id": {
      "description": "Copy the chat_ id from chat.list.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "expected_revision": {
      "minimum": 0,
      "type": "integer"
    },
    "person_id": {
      "description": "Copy the pers_ id from people.list/get; this is a CRM record, not a user account.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "provider_slug": {
      "description": "Copy the Portal slug from providers.list.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "provider_slug",
    "person_id",
    "conversation_id",
    "expected_revision",
    "client_request_id"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "required": [
          "error"
        ]
      },
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "data"
      ]
    },
    {
      "not": {
        "required": [
          "data"
        ]
      },
      "properties": {
        "ok": {
          "const": false
        }
      },
      "required": [
        "error"
      ]
    }
  ],
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "person": {
          "additionalProperties": false,
          "properties": {
            "communication_preferences": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "changed_at": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "channel": {
                    "enum": [
                      "email",
                      "phone"
                    ],
                    "type": "string"
                  },
                  "effective_status": {
                    "enum": [
                      "allowed",
                      "blocked",
                      "unspecified"
                    ],
                    "type": "string"
                  },
                  "purpose": {
                    "enum": [
                      "operational",
                      "marketing"
                    ],
                    "type": "string"
                  },
                  "status": {
                    "enum": [
                      "allowed",
                      "blocked",
                      "unspecified"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "channel",
                  "purpose",
                  "status",
                  "effective_status",
                  "changed_at"
                ],
                "type": "object"
              },
              "maxItems": 4,
              "type": "array"
            },
            "company_name": {
              "type": "string"
            },
            "contact_methods": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "is_primary": {
                    "type": "boolean"
                  },
                  "kind": {
                    "enum": [
                      "email",
                      "phone"
                    ],
                    "type": "string"
                  },
                  "label": {
                    "type": "string"
                  },
                  "slug": {
                    "description": "Stable public identifier for the referenced resource.",
                    "maxLength": 255,
                    "minLength": 1,
                    "type": "string"
                  },
                  "value": {
                    "type": "string"
                  }
                },
                "required": [
                  "slug",
                  "kind",
                  "value",
                  "label",
                  "is_primary"
                ],
                "type": "object"
              },
              "maxItems": 50,
              "type": "array"
            },
            "created_at": {
              "format": "date-time",
              "type": "string"
            },
            "detail_link": {
              "type": [
                "string",
                "null"
              ]
            },
            "email": {
              "type": "string"
            },
            "frontend_link": {
              "type": [
                "string",
                "null"
              ]
            },
            "full_name": {
              "type": "string"
            },
            "id": {
              "description": "Stable public identifier for the referenced resource.",
              "maxLength": 255,
              "minLength": 1,
              "type": "string"
            },
            "is_archived": {
              "type": "boolean"
            },
            "is_do_not_contact": {
              "type": "boolean"
            },
            "job_title": {
              "type": "string"
            },
            "merged_into_id": {
              "type": [
                "string",
                "null"
              ]
            },
            "notes": {
              "type": "string"
            },
            "object": {
              "const": "person",
              "type": "string"
            },
            "owner": {
              "anyOf": [
                {
                  "additionalProperties": false,
                  "properties": {
                    "email": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "email",
                    "name"
                  ],
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ]
            },
            "phone_number": {
              "type": "string"
            },
            "revision": {
              "minimum": 0,
              "type": "integer"
            },
            "tags": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "color": {
                    "type": "string"
                  },
                  "id": {
                    "description": "Stable public identifier for the referenced resource.",
                    "maxLength": 255,
                    "minLength": 1,
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "name",
                  "color"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "updated_at": {
              "format": "date-time",
              "type": "string"
            }
          },
          "required": [
            "id",
            "object",
            "full_name",
            "email",
            "phone_number",
            "company_name",
            "job_title",
            "is_do_not_contact",
            "notes",
            "owner",
            "tags",
            "created_at",
            "updated_at",
            "frontend_link",
            "contact_methods",
            "is_archived",
            "merged_into_id",
            "communication_preferences",
            "revision",
            "detail_link"
          ],
          "type": "object"
        }
      },
      "required": [
        "person"
      ],
      "type": "object"
    },
    "error": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": true,
          "description": "Optional bounded, agent-safe correction or recovery facts.",
          "type": "object"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "type": "object"
    },
    "ok": {
      "description": "Whether the tool completed successfully.",
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "meta"
  ],
  "type": "object"
}
```

Check the result, then read the affected record to confirm your change.
