> ## 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.

# Pipedrive: Get Person Picture

> Get picture of a person. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Get picture of a person.

<Info>
  Tool ID: `pipedrive_get_person_picture`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'pipedrive_get_person_picture',
  {
    "id": 123
  },
);

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

### CLI

```bash theme={null}
deepline tools execute pipedrive_get_person_picture --input '{
  "id": 123
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "success": true,
    "data": {
      "id": 123,
      "item_type": "example",
      "item_id": 123
    }
  }
}
```

Use `deepline tools get pipedrive_get_person_picture --json` for the latest machine-readable contract.

## Input reference

Returns the picture associated with a person. The picture URLs include both 128x128 and 512x512 pixel versions.

| Name         | Type      | Required | Default | Details              |
| ------------ | --------- | -------- | ------- | -------------------- |
| `payload.id` | `integer` | Yes      | —       | The ID of the person |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Returns the picture associated with a person. The picture URLs include both 128x128 and 512x512 pixel versions.",
    "properties": {
      "id": {
        "type": "integer",
        "description": "The ID of the person"
      }
    },
    "required": [
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name                                | Type      | Required | Default | Details                                          |
| ----------------------------------- | --------- | -------- | ------- | ------------------------------------------------ |
| `result.data`                       | `object`  | Yes      | —       | Provider response payload.                       |
| `result.data.success`               | `boolean` | No       | —       | If the response is successful or not             |
| `result.data.data`                  | `object`  | No       | —       | —                                                |
| `result.data.data.id`               | `integer` | No       | —       | The ID of the picture.                           |
| `result.data.data.item_type`        | `string`  | No       | —       | The type of item the picture is associated with. |
| `result.data.data.item_id`          | `integer` | No       | —       | The ID of the person this picture belongs to.    |
| `result.data.data.added_by_user_id` | `integer` | No       | —       | The ID of the user who added the picture.        |
| `result.data.data.active_flag`      | `boolean` | No       | —       | Whether the picture is active or not.            |
| `result.data.data.file_size`        | `integer` | No       | —       | The file size in bytes.                          |
| `result.data.data.pictures`         | `object`  | No       | —       | Picture URLs indexed by size.                    |
| `result.data.data.pictures.128`     | `string`  | No       | —       | The URL of the 128x128 picture.                  |
| `result.data.data.pictures.512`     | `string`  | No       | —       | The URL of the 512x512 picture.                  |
| `result.meta`                       | `object`  | No       | —       | Additional response metadata (status, paging).   |

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

  ### Output JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "If the response is successful or not"
          },
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "description": "The ID of the picture."
              },
              "item_type": {
                "type": "string",
                "description": "The type of item the picture is associated with."
              },
              "item_id": {
                "type": "integer",
                "description": "The ID of the person this picture belongs to."
              },
              "added_by_user_id": {
                "type": "integer",
                "description": "The ID of the user who added the picture."
              },
              "active_flag": {
                "type": "boolean",
                "description": "Whether the picture is active or not."
              },
              "file_size": {
                "type": "integer",
                "description": "The file size in bytes."
              },
              "pictures": {
                "type": "object",
                "description": "Picture URLs indexed by size.",
                "properties": {
                  "128": {
                    "type": "string",
                    "description": "The URL of the 128x128 picture."
                  },
                  "512": {
                    "type": "string",
                    "description": "The URL of the 512x512 picture."
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        },
        "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

* [Pipedrive provider guide](/docs/providers/pipedrive/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)
