# Search People — Super Carl

> Search people by role, company history, expertise, location, network relationship, or recent activity. Keep Preview enabled for fast counts and lightweight rows; disable Preview when you need full rows and Evidence Format, since Evidence…

- Key: `super_carl-search-people`
- Type: Action (Read-only)
- Version: 0.0.2
- App: Super Carl (`super_carl`) — https://pipedream.com/apps/super-carl.md
- This page (HTML): https://pipedream.com/apps/super-carl/actions/search-people
- Hints: read-only · open-world
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/super_carl/actions/search-people/search-people.mjs

## Description

Search people by role, company history, expertise, location, network relationship, or recent activity. Keep Preview enabled for fast counts and lightweight rows; disable Preview when you need full rows and Evidence Format, since Evidence Format is ignored during preview. Use **Search Companies** first when a named employer is ambiguous. Person rows carry deep connection/evidence metadata and can be large — pass Fields (e.g. `name`, `linkedin_profile_url`, `headline`) to keep the result small when you only need a few values. Always pass Fields when Preview is off and you set Relationship Detail to `intro_paths` or Evidence Format to anything other than `none`: that combination alone can exceed the response size limit even with a handful of rows, so don't wait for a truncated first call to add Fields. Read-only against Super Carl's shared external people database: there is no way to edit, hide, or delete a person's profile through this or any other Super Carl tool. [See the documentation](https://supercarl.ai/docs#endpoints-people-search)

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `query` | `string` | No | Natural-language search query, for example Head of Growth candidates in NYC warm through my network. |
| `filters` | `object` | No | Optional Super Carl AdvancedFilters JSON object for structured constraints. Example: { "job_titles": { "include": ["Head of Growth"], "current_only": true }, "locations": { "include": ["New York"] }, "connection_degrees": ["1st"] }. |
| `preview` | `boolean` | No | Use the fast preview route. Turn off for full rows with selected evidence detail. |
| `limit` | `integer` | No | Maximum number of results to return. |
| `offset` | `integer` | No | Number of results to skip. |
| `evidenceFormat` | `string` | No | none returns compact rows, reasons adds match reasons, text adds profile prose, json adds structured evidence, and both returns text plus JSON. Applies only when Preview is disabled. |
| `relationshipDetail` | `string` | No | none omits relationship data, summary includes social proximity and mutual counts, and intro_paths includes warm-intro path details when available. |
| `delegateUserId` | `string` | No | Optional Super Carl team-seat user ID to search as. This is the UUID of a teammate's user record that the API key owner can delegate to, for example 550e8400-e29b-41d4-a716-446655440000. |
| `fields` | `string[]` | No | Optional list of fields to return per row instead of the full record — keeps large result sets well under the context limit. Supports dot-paths for nested values, for example name, linkedin_profile_url, resolved_target.id. Omit this prop to return the API default field set (every field). |

## Run it

**MCP**

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "super_carl",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
  name: "super_carl-search-people",
  arguments: {
    query: "Query",
    filters: "Filters",
  },
})
```

**TypeScript**

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "super_carl-search-people",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    super_carl: { authProvisionId: "apn_xxxxxxx" },
    query: "Query",
    filters: "Filters",
  },
})

console.log(result)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "super_carl-search-people",
    "configured_props": {
      "super_carl": { "authProvisionId": "apn_xxxxxxx" },
      "query": "Query",
      "filters": "Filters"
    }
  }'
```

---

- App: https://pipedream.com/apps/super-carl.md · All apps: https://pipedream.com/apps
