# List Deal communications

`deal_records.list_communications`

List cursor-paginated read-only communication threads for one Deal. First call deal_records.list and pass an exact returned id as deal_id; pass next_cursor unchanged to continue and pass a returned thread_key to deal_records.list_messages.

[Deal administration guide](https://docs.levr.ai/mcp/resources/deal_records.md)

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

Operation: read. Required OAuth scopes: mcp.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "cursor": {
      "anyOf": [
        {
          "description": "Opaque next_cursor from the preceding page with the same query.",
          "maxLength": 4096,
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Opaque next_cursor from the preceding page with the same query."
    },
    "deal_id": {
      "description": "Stable public identifier for the referenced resource.",
      "maxLength": 255,
      "minLength": 1,
      "pattern": "^dapp_[A-Za-z0-9_-]+$",
      "type": "string"
    },
    "ordering": {
      "default": "thread_key",
      "description": "Comma-separated ordering fields. Prefix a field with - for descending order. Allowed fields: thread_key.",
      "maxLength": 255,
      "minLength": 1,
      "pattern": "^-?(?:thread_key)(?:,-?(?:thread_key)){0,2}$",
      "type": "string"
    },
    "page_size": {
      "default": 20,
      "description": "Maximum items to return. The allowed range is 1 through 50.",
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    }
  },
  "required": [
    "deal_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": {
        "items": {
          "description": "Resources in this page.",
          "items": {
            "additionalProperties": false,
            "properties": {
              "business": {
                "anyOf": [
                  {
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "description": "Stable public identifier for the referenced resource.",
                        "maxLength": 255,
                        "minLength": 1,
                        "type": "string"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "name"
                    ],
                    "type": "object"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "latest_message_at": {
                "anyOf": [
                  {
                    "format": "date-time",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "message_count": {
                "minimum": 0,
                "type": "integer"
              },
              "providers": {
                "items": {
                  "additionalProperties": false,
                  "properties": {
                    "id": {
                      "description": "Stable public identifier for the referenced resource.",
                      "maxLength": 255,
                      "minLength": 1,
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "name"
                  ],
                  "type": "object"
                },
                "maxItems": 100,
                "type": "array"
              },
              "thread_key": {
                "type": "string"
              },
              "thread_type": {
                "enum": [
                  "business",
                  "provider_collaboration",
                  "legacy_business"
                ],
                "type": "string"
              }
            },
            "required": [
              "thread_key",
              "thread_type",
              "business",
              "providers",
              "message_count",
              "latest_message_at"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "next_cursor": {
          "anyOf": [
            {
              "description": "Opaque cursor for the next page, or null when this is the final page.",
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "Opaque cursor for the next page, or null when this is the final page."
        }
      },
      "required": [
        "items",
        "next_cursor"
      ],
      "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"
}
```
