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

# Attention: Get Connection Report

> See which Attention users have connected their calendar and email. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

See which Attention users have connected their calendar and email.

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

## 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(
  'attention_get_connection_report',
  {},
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute attention_get_connection_report --input '{}' --json
```

## 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": {
    "summary": {
      "totalUsers": 123,
      "fullyConnected": 123,
      "missingCalendar": 123,
      "missingEmail": 123,
      "missingBoth": 123
    },
    "users": [
      {
        "uuid": "uuid_123",
        "email": "jane.doe@example.com",
        "firstName": "Jane",
        "lastName": "Doe",
        "calendarConnected": true,
        "emailConnected": true
      }
    ]
  }
}
```

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

## Input reference

Simple report showing which users have connected their calendar and email. No parameters needed - shows all users in the organization.

This action requires no input fields.

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Simple report showing which users have connected their calendar and email. No parameters needed - shows all users in the organization.",
    "properties": {},
    "required": [],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.summary` | `object` | No | — | — |
| `result.data.summary.totalUsers` | `integer` | Yes | — | Total number of users in the organization |
| `result.data.summary.fullyConnected` | `integer` | Yes | — | Users connected to both calendar and email |
| `result.data.summary.missingCalendar` | `integer` | Yes | — | Users missing calendar connection |
| `result.data.summary.missingEmail` | `integer` | Yes | — | Users missing email connection |
| `result.data.summary.missingBoth` | `integer` | Yes | — | Users missing both calendar and email connections |
| `result.data.users` | `array` | No | — | List of all users with their connection status |
| `result.data.users[].uuid` | `string` | Yes | — | User unique identifier |
| `result.data.users[].email` | `string` | Yes | — | User email address |
| `result.data.users[].firstName` | `string` | Yes | — | User first name |
| `result.data.users[].lastName` | `string` | Yes | — | User last name |
| `result.data.users[].calendarConnected` | `boolean` | Yes | — | Whether the user has connected their calendar |
| `result.data.users[].emailConnected` | `boolean` | Yes | — | Whether the user has connected their email |
| `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": "Provider response payload.",
        "properties": {
          "summary": {
            "type": "object",
            "properties": {
              "totalUsers": {
                "type": "integer",
                "description": "Total number of users in the organization"
              },
              "fullyConnected": {
                "type": "integer",
                "description": "Users connected to both calendar and email"
              },
              "missingCalendar": {
                "type": "integer",
                "description": "Users missing calendar connection"
              },
              "missingEmail": {
                "type": "integer",
                "description": "Users missing email connection"
              },
              "missingBoth": {
                "type": "integer",
                "description": "Users missing both calendar and email connections"
              }
            },
            "required": [
              "fullyConnected",
              "missingBoth",
              "missingCalendar",
              "missingEmail",
              "totalUsers"
            ],
            "additionalProperties": false
          },
          "users": {
            "type": "array",
            "description": "List of all users with their connection status",
            "items": {
              "type": "object",
              "properties": {
                "uuid": {
                  "type": "string",
                  "description": "User unique identifier"
                },
                "email": {
                  "type": "string",
                  "description": "User email address"
                },
                "firstName": {
                  "type": "string",
                  "description": "User first name"
                },
                "lastName": {
                  "type": "string",
                  "description": "User last name"
                },
                "calendarConnected": {
                  "type": "boolean",
                  "description": "Whether the user has connected their calendar"
                },
                "emailConnected": {
                  "type": "boolean",
                  "description": "Whether the user has connected their email"
                }
              },
              "required": [
                "calendarConnected",
                "email",
                "emailConnected",
                "firstName",
                "lastName",
                "uuid"
              ],
              "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

* [Attention provider guide](https://deepline.com/docs/providers/attention/guide.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.