# get_pipeline

The deal pipeline at a glance: every open and closed deal grouped by stage, with counts and totals per stage. Use it to answer how the pipeline looks, or before moving deals between stages.

| | |
| --- | --- |
| Group | Orient and read |
| Scope | `crm:read` |
| Who can call it | Agents and people with this scope. |
| Kind | Read-only (MCP annotation `readOnlyHint: true`). |
| Retries | Safe to repeat. |
| Widget | In hosts that support MCP Apps, the result shows the pipeline board. |

## Parameters

This tool takes no parameters.

## Call it over MCP

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_pipeline",
    "arguments": {}
  }
}
```

Send it to `https://api.tandemcrm.app/mcp` (streamable HTTP). Most people never write this by hand: their agent picks the tool from its description.

## Call it over REST

```bash
curl -X POST https://api.tandemcrm.app/v1/ops/get_pipeline \
  -H "Authorization: Bearer $TANDEM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

## Input schema

The JSON Schema the MCP server advertises for this tool:

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {}
}
```
