> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# DiscoLike: Match Contact

> Find a person by full name in DiscoLike's contact index, optionally narrowed by company_name, domain, or person_country.

Find a person by full name in DiscoLike's contact index, optionally narrowed by company\_name, domain, or person\_country.

> [!NOTE]
>
> Tool ID: `discolike_match_contact`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'discolike_match_contact',
  {
    "name": "Example"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline run discolike_match_contact --input '{
  "name": "Example"
}'
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "query": {
      "name": "Example",
      "email": "jane.doe@example.com",
      "linkedin": "https://www.linkedin.com/in/jane-doe"
    },
    "matches": [
      {
        "persona_id": 123,
        "domain": "example.com",
        "match_score": 123
      }
    ]
  }
}
```

Use `deepline describe discolike_match_contact --json` for the latest machine-readable contract.

## Input reference

Match a person's name to contacts in our database, optionally filtered by company or domain.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.name` | `string` | Yes | — | Person name to search for. |
| `payload.company_name` | `string` | No | — | Company name to narrow the search. |
| `payload.domain` | `string` | No | — | Domain to filter results. |
| `payload.person_country` | `string` | No | — | Person's country code (ISO-3166-1 alpha-2). |
| `payload.limit` | `integer` | No | `10` | Maximum results to return (1-20). Minimum: 1. Maximum: 20. |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Match a person's name to contacts in our database, optionally filtered by company or domain.",
    "properties": {
      "name": {
        "type": "string",
        "description": "Person name to search for."
      },
      "company_name": {
        "type": [
          "string",
          "null"
        ],
        "description": "Company name to narrow the search."
      },
      "domain": {
        "type": [
          "string",
          "null"
        ],
        "description": "Domain to filter results."
      },
      "person_country": {
        "type": [
          "string",
          "null"
        ],
        "description": "Person's country code (ISO-3166-1 alpha-2)."
      },
      "limit": {
        "type": "integer",
        "description": "Maximum results to return (1-20).",
        "default": 10,
        "minimum": 1,
        "maximum": 20
      }
    },
    "required": [
      "name"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Response for contact match endpoint. |
| `result.data.query` | `object` | Yes | — | Query parameters echoed in contact match response. `extra="allow"` so bulk matching can round-trip pass-through row data (e.g. `input: ` keys) through to the response. |
| `result.data.query.name` | `string \| null` | No | — | The name that was searched. |
| `result.data.query.email` | `string \| null` | No | — | Email filter if provided. |
| `result.data.query.linkedin` | `string \| null` | No | — | LinkedIn URL if provided. |
| `result.data.query.company_name` | `string \| null` | No | — | Company name filter if provided. |
| `result.data.query.domain` | `string \| null` | No | — | Domain filter if provided. |
| `result.data.query.person_country` | `string \| null` | No | — | Person country filter if provided. |
| `result.data.matches` | `array` | Yes | — | List of matching contacts. |
| `result.data.matches[].persona_id` | `integer` | Yes | — | Unique identifier for the matched contact. |
| `result.data.matches[].name` | `string \| null` | No | — | Full name of the contact. |
| `result.data.matches[].title` | `string \| null` | No | — | Job title. |
| `result.data.matches[].domain` | `string` | Yes | — | Company domain. |
| `result.data.matches[].company_name` | `string \| null` | No | — | Company name. |
| `result.data.matches[].match_score` | `number` | Yes | — | Match confidence score (0-100). |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Response for contact match endpoint.",
        "properties": {
          "query": {
            "type": "object",
            "description": "Query parameters echoed in contact match response. ``extra=\"allow\"`` so bulk matching can round-trip pass-through row data (e.g. ``input: `` keys) through to the response.",
            "properties": {
              "name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "The name that was searched."
              },
              "email": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Email filter if provided."
              },
              "linkedin": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "LinkedIn URL if provided."
              },
              "company_name": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Company name filter if provided."
              },
              "domain": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Domain filter if provided."
              },
              "person_country": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Person country filter if provided."
              }
            },
            "additionalProperties": true
          },
          "matches": {
            "type": "array",
            "description": "List of matching contacts.",
            "items": {
              "type": "object",
              "description": "Individual match result from contact matching.",
              "properties": {
                "persona_id": {
                  "type": "integer",
                  "description": "Unique identifier for the matched contact."
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Full name of the contact."
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Job title."
                },
                "domain": {
                  "type": "string",
                  "description": "Company domain."
                },
                "company_name": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Company name."
                },
                "match_score": {
                  "type": "number",
                  "description": "Match confidence score (0-100)."
                }
              },
              "required": [
                "persona_id",
                "domain",
                "match_score"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "query",
          "matches"
        ],
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Connect integrations](https://deepline.com/docs/integrations.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.