# MCP tool reference

1 callable tools.

Use tools/call at https://mcp.schedulerzero.com/mcp with the exact tool name and arguments below. The /tools/ paths in this view are documentation identifiers, not HTTP endpoints. Request execution is disabled for this reference.

Inputs are shown for personal API keys (bound) and for OAuth/delegated agents. Output schemas describe MCP structuredContent: native objects pass through; arrays, scalars and null use a data wrapper. Text content retains the native JSON result.

[Connect a client](/mcp/connect) · [Authentication and authorization](/authentication) · [Generated auth guide](/auth.md) · [Download tool catalog](/mcp-catalog.json) · [Agent documentation](/llms.txt)

## review_contact_suggestions

List contact suggestions from a conversation, save one to its lead, create a separate lead, or dismiss it. Select the action explicitly.

Use when an automatic reply names another way to reach someone. Each suggestion states whether it can be saved and, if not, exactly why.

Saving someone else's contact detail onto a lead is a judgement about whose it is, so blocked suggestions cannot be forced through. Confirming ownership answers uncertainty; it does not override a classification that says the detail belongs to a coworker or to the company.

Obtain the user's explicit authorization before invoking a write or destructive action. This is a client interaction requirement, not a server-issued approval token.

Scopes: unibox:read, lead:update, lead:create

Risk: write; confirmation: explicit; idempotency: supported.

### Input schema (personal API key)

```json
{
  "type": "object",
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "workspaceId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "list"
              ]
            }
          ]
        },
        "threadId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        }
      },
      "required": [
        "workspaceId",
        "action",
        "threadId"
      ],
      "patternProperties": {
        "^(?!(?:workspaceId|action|threadId)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "workspaceId",
          "action",
          "threadId"
        ]
      }
    },
    {
      "type": "object",
      "properties": {
        "workspaceId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "apply"
              ]
            }
          ]
        },
        "suggestionId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "confirmOwnership": {
          "type": "boolean"
        }
      },
      "required": [
        "workspaceId",
        "action",
        "suggestionId"
      ],
      "patternProperties": {
        "^(?!(?:workspaceId|action|suggestionId|confirmOwnership)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "workspaceId",
          "action",
          "suggestionId",
          "confirmOwnership"
        ]
      }
    },
    {
      "type": "object",
      "properties": {
        "workspaceId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "create_lead"
              ]
            }
          ]
        },
        "suggestionId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "firstName": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "lastName": {
          "type": "string",
          "maxLength": 100
        }
      },
      "required": [
        "workspaceId",
        "action",
        "suggestionId",
        "firstName"
      ],
      "patternProperties": {
        "^(?!(?:workspaceId|action|suggestionId|firstName|lastName)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "workspaceId",
          "action",
          "suggestionId",
          "firstName",
          "lastName"
        ]
      }
    },
    {
      "type": "object",
      "properties": {
        "workspaceId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "dismiss"
              ]
            }
          ]
        },
        "suggestionId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        }
      },
      "required": [
        "workspaceId",
        "action",
        "suggestionId"
      ],
      "patternProperties": {
        "^(?!(?:workspaceId|action|suggestionId)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "workspaceId",
          "action",
          "suggestionId"
        ]
      }
    }
  ]
}
```

### Input schema (OAuth / delegated agent)

```json
{
  "type": "object",
  "anyOf": [
    {
      "type": "object",
      "properties": {
        "workspaceId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "list"
              ]
            }
          ]
        },
        "threadId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        }
      },
      "required": [
        "workspaceId",
        "action",
        "threadId"
      ],
      "patternProperties": {
        "^(?!(?:workspaceId|action|threadId)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "workspaceId",
          "action",
          "threadId"
        ]
      }
    },
    {
      "type": "object",
      "properties": {
        "workspaceId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "apply"
              ]
            }
          ]
        },
        "suggestionId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "confirmOwnership": {
          "type": "boolean"
        }
      },
      "required": [
        "workspaceId",
        "action",
        "suggestionId"
      ],
      "patternProperties": {
        "^(?!(?:workspaceId|action|suggestionId|confirmOwnership)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "workspaceId",
          "action",
          "suggestionId",
          "confirmOwnership"
        ]
      }
    },
    {
      "type": "object",
      "properties": {
        "workspaceId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "create_lead"
              ]
            }
          ]
        },
        "suggestionId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "firstName": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        },
        "lastName": {
          "type": "string",
          "maxLength": 100
        }
      },
      "required": [
        "workspaceId",
        "action",
        "suggestionId",
        "firstName"
      ],
      "patternProperties": {
        "^(?!(?:workspaceId|action|suggestionId|firstName|lastName)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "workspaceId",
          "action",
          "suggestionId",
          "firstName",
          "lastName"
        ]
      }
    },
    {
      "type": "object",
      "properties": {
        "workspaceId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        },
        "action": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "dismiss"
              ]
            }
          ]
        },
        "suggestionId": {
          "type": "string",
          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
          "format": "uuid"
        }
      },
      "required": [
        "workspaceId",
        "action",
        "suggestionId"
      ],
      "patternProperties": {
        "^(?!(?:workspaceId|action|suggestionId)$)[\\s\\S]*$": false
      },
      "additionalProperties": true,
      "propertyNames": {
        "type": "string",
        "enum": [
          "workspaceId",
          "action",
          "suggestionId"
        ]
      }
    }
  ]
}
```

### Output schema (structuredContent)

```json
{
  "$defs": {
    "ContactSuggestionId": {
      "type": "string",
      "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
      "format": "uuid"
    },
    "NonEmptyString": {
      "type": "string",
      "minLength": 1,
      "maxLength": 4096
    },
    "LeadStoredText": {
      "type": "string",
      "maxLength": 65536
    },
    "ShortText": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "UtcDateTimeEncoded": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
    }
  },
  "type": "object",
  "anyOf": [
    {
      "allOf": [
        {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "threadId": {
                  "type": "string",
                  "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                  "format": "uuid"
                },
                "leadId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                      "format": "uuid"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "$ref": "#/$defs/ContactSuggestionId"
                      },
                      "threadId": {
                        "type": "string",
                        "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                        "format": "uuid"
                      },
                      "kind": {
                        "type": "string",
                        "enum": [
                          "email",
                          "phone"
                        ]
                      },
                      "value": {
                        "$ref": "#/$defs/NonEmptyString"
                      },
                      "normalizedValue": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/NonEmptyString"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "contactName": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/LeadStoredText"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "firstName": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/LeadStoredText"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "lastName": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/LeadStoredText"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "ownership": {
                        "type": "string",
                        "enum": [
                          "self",
                          "coworker",
                          "company",
                          "unknown"
                        ]
                      },
                      "contactType": {
                        "$ref": "#/$defs/ShortText"
                      },
                      "groupKey": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/LeadStoredText"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "evidence": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/LeadStoredText"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "reviewReason": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/LeadStoredText"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "relationship": {
                        "anyOf": [
                          {
                            "$ref": "#/$defs/LeadStoredText"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "confidence": {
                        "anyOf": [
                          {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 1
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "messageId": {
                        "anyOf": [
                          {
                            "type": "string",
                            "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                            "format": "uuid"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "canApply": {
                        "type": "boolean"
                      },
                      "canCreateLead": {
                        "type": "boolean"
                      },
                      "blockReason": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "different_person",
                              "company_contact",
                              "ownership_review",
                              "no_lead",
                              "invalid_phone",
                              "already_on_other_lead",
                              "terminal_bad_contact"
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "createdAt": {
                        "$ref": "#/$defs/UtcDateTimeEncoded"
                      }
                    },
                    "required": [
                      "id",
                      "threadId",
                      "kind",
                      "value",
                      "normalizedValue",
                      "contactName",
                      "firstName",
                      "lastName",
                      "ownership",
                      "contactType",
                      "groupKey",
                      "evidence",
                      "reviewReason",
                      "relationship",
                      "confidence",
                      "messageId",
                      "canApply",
                      "canCreateLead",
                      "blockReason",
                      "createdAt"
                    ],
                    "patternProperties": {
                      "^(?!(?:id|threadId|kind|value|normalizedValue|contactName|firstName|lastName|ownership|contactType|groupKey|evidence|reviewReason|relationship|confidence|messageId|canApply|canCreateLead|blockReason|createdAt)$)[\\s\\S]*$": false
                    },
                    "additionalProperties": true,
                    "propertyNames": {
                      "type": "string",
                      "enum": [
                        "id",
                        "threadId",
                        "kind",
                        "value",
                        "normalizedValue",
                        "contactName",
                        "firstName",
                        "lastName",
                        "ownership",
                        "contactType",
                        "groupKey",
                        "evidence",
                        "reviewReason",
                        "relationship",
                        "confidence",
                        "messageId",
                        "canApply",
                        "canCreateLead",
                        "blockReason",
                        "createdAt"
                      ]
                    }
                  },
                  "maxItems": 100
                }
              },
              "required": [
                "threadId",
                "leadId",
                "items"
              ],
              "patternProperties": {
                "^(?!(?:threadId|leadId|items)$)[\\s\\S]*$": false
              },
              "additionalProperties": true,
              "propertyNames": {
                "type": "string",
                "enum": [
                  "threadId",
                  "leadId",
                  "items"
                ]
              }
            },
            {
              "type": "object",
              "properties": {
                "suggestionId": {
                  "$ref": "#/$defs/ContactSuggestionId"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "applied",
                    "dismissed"
                  ]
                },
                "leadId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                      "format": "uuid"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "leadCreated": {
                  "type": "boolean"
                },
                "kind": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "email",
                        "phone"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "appliedValue": {
                  "anyOf": [
                    {
                      "$ref": "#/$defs/NonEmptyString"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "appliedContactPointId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                      "format": "uuid"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "appliedCount": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "resolvedAt": {
                  "$ref": "#/$defs/UtcDateTimeEncoded"
                }
              },
              "required": [
                "suggestionId",
                "status",
                "leadId",
                "leadCreated",
                "kind",
                "appliedValue",
                "appliedContactPointId",
                "appliedCount",
                "resolvedAt"
              ],
              "patternProperties": {
                "^(?!(?:suggestionId|status|leadId|leadCreated|kind|appliedValue|appliedContactPointId|appliedCount|resolvedAt)$)[\\s\\S]*$": false
              },
              "additionalProperties": true,
              "propertyNames": {
                "type": "string",
                "enum": [
                  "suggestionId",
                  "status",
                  "leadId",
                  "leadCreated",
                  "kind",
                  "appliedValue",
                  "appliedContactPointId",
                  "appliedCount",
                  "resolvedAt"
                ]
              }
            }
          ]
        },
        {
          "type": "object"
        }
      ]
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "allOf": [
            {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "threadId": {
                      "type": "string",
                      "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                      "format": "uuid"
                    },
                    "leadId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "$ref": "#/$defs/ContactSuggestionId"
                          },
                          "threadId": {
                            "type": "string",
                            "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                            "format": "uuid"
                          },
                          "kind": {
                            "type": "string",
                            "enum": [
                              "email",
                              "phone"
                            ]
                          },
                          "value": {
                            "$ref": "#/$defs/NonEmptyString"
                          },
                          "normalizedValue": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/NonEmptyString"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "contactName": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/LeadStoredText"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "firstName": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/LeadStoredText"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "lastName": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/LeadStoredText"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ownership": {
                            "type": "string",
                            "enum": [
                              "self",
                              "coworker",
                              "company",
                              "unknown"
                            ]
                          },
                          "contactType": {
                            "$ref": "#/$defs/ShortText"
                          },
                          "groupKey": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/LeadStoredText"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "evidence": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/LeadStoredText"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "reviewReason": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/LeadStoredText"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "relationship": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/LeadStoredText"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "confidence": {
                            "anyOf": [
                              {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 1
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "messageId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "canApply": {
                            "type": "boolean"
                          },
                          "canCreateLead": {
                            "type": "boolean"
                          },
                          "blockReason": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "different_person",
                                  "company_contact",
                                  "ownership_review",
                                  "no_lead",
                                  "invalid_phone",
                                  "already_on_other_lead",
                                  "terminal_bad_contact"
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "$ref": "#/$defs/UtcDateTimeEncoded"
                          }
                        },
                        "required": [
                          "id",
                          "threadId",
                          "kind",
                          "value",
                          "normalizedValue",
                          "contactName",
                          "firstName",
                          "lastName",
                          "ownership",
                          "contactType",
                          "groupKey",
                          "evidence",
                          "reviewReason",
                          "relationship",
                          "confidence",
                          "messageId",
                          "canApply",
                          "canCreateLead",
                          "blockReason",
                          "createdAt"
                        ],
                        "patternProperties": {
                          "^(?!(?:id|threadId|kind|value|normalizedValue|contactName|firstName|lastName|ownership|contactType|groupKey|evidence|reviewReason|relationship|confidence|messageId|canApply|canCreateLead|blockReason|createdAt)$)[\\s\\S]*$": false
                        },
                        "additionalProperties": true,
                        "propertyNames": {
                          "type": "string",
                          "enum": [
                            "id",
                            "threadId",
                            "kind",
                            "value",
                            "normalizedValue",
                            "contactName",
                            "firstName",
                            "lastName",
                            "ownership",
                            "contactType",
                            "groupKey",
                            "evidence",
                            "reviewReason",
                            "relationship",
                            "confidence",
                            "messageId",
                            "canApply",
                            "canCreateLead",
                            "blockReason",
                            "createdAt"
                          ]
                        }
                      },
                      "maxItems": 100
                    }
                  },
                  "required": [
                    "threadId",
                    "leadId",
                    "items"
                  ],
                  "patternProperties": {
                    "^(?!(?:threadId|leadId|items)$)[\\s\\S]*$": false
                  },
                  "additionalProperties": true,
                  "propertyNames": {
                    "type": "string",
                    "enum": [
                      "threadId",
                      "leadId",
                      "items"
                    ]
                  }
                },
                {
                  "type": "object",
                  "properties": {
                    "suggestionId": {
                      "$ref": "#/$defs/ContactSuggestionId"
                    },
                    "status": {
                      "type": "string",
                      "enum": [
                        "pending",
                        "applied",
                        "dismissed"
                      ]
                    },
                    "leadId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "leadCreated": {
                      "type": "boolean"
                    },
                    "kind": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "email",
                            "phone"
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "appliedValue": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/NonEmptyString"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "appliedContactPointId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "appliedCount": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "resolvedAt": {
                      "$ref": "#/$defs/UtcDateTimeEncoded"
                    }
                  },
                  "required": [
                    "suggestionId",
                    "status",
                    "leadId",
                    "leadCreated",
                    "kind",
                    "appliedValue",
                    "appliedContactPointId",
                    "appliedCount",
                    "resolvedAt"
                  ],
                  "patternProperties": {
                    "^(?!(?:suggestionId|status|leadId|leadCreated|kind|appliedValue|appliedContactPointId|appliedCount|resolvedAt)$)[\\s\\S]*$": false
                  },
                  "additionalProperties": true,
                  "propertyNames": {
                    "type": "string",
                    "enum": [
                      "suggestionId",
                      "status",
                      "leadId",
                      "leadCreated",
                      "kind",
                      "appliedValue",
                      "appliedContactPointId",
                      "appliedCount",
                      "resolvedAt"
                    ]
                  }
                }
              ]
            },
            {
              "not": {
                "type": "object"
              }
            }
          ]
        }
      },
      "required": [
        "data"
      ],
      "additionalProperties": false
    }
  ]
}
```

### Underlying API operations

- `uniboxThreads.listContactSuggestions`: `GET /v1/workspaces/:workspaceId/unibox/threads/:threadId/contact-suggestions`
- `uniboxSuggestions.apply`: `POST /v1/workspaces/:workspaceId/unibox/contact-suggestions/:suggestionId/apply`
- `uniboxSuggestions.createLead`: `POST /v1/workspaces/:workspaceId/unibox/contact-suggestions/:suggestionId/create-lead`
- `uniboxSuggestions.dismiss`: `POST /v1/workspaces/:workspaceId/unibox/contact-suggestions/:suggestionId/dismiss`

