KosmoKrator

productivity

Pipedrive CLI for Coding Agents

Use the Pipedrive CLI for coding agents with headless JSON commands, schema discovery, credentials, and permission controls.

7 functions 6 read 1 write API token auth

Pipedrive CLI for Coding Agents

Let coding agents discover schemas and execute integration functions through CLI commands or MCP.

Use this pattern when another coding agent needs exact commands and schema discovery. The Pipedrive CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Pipedrive CLI for Coding Agents
kosmokrator integrations:configure pipedrive --set api_token="$PIPEDRIVE_API_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call pipedrive.pipedrive_create_deal '{"title":"example_title","value":1,"currency":"example_currency","person_id":1,"org_id":1,"stage_id":1,"pipeline_id":1,"status":"example_status"}' --json

Discovery Before Execution

Agents and scripts can inspect Pipedrive docs and schemas before choosing a function.

kosmo integrations:docs pipedrive --json
kosmo integrations:docs pipedrive.pipedrive_create_deal --json
kosmo integrations:schema pipedrive.pipedrive_create_deal --json
kosmo integrations:search "Pipedrive" --json
kosmo integrations:list --json

Useful Pipedrive CLI Functions

FunctionTypeParametersDescription
pipedrive.pipedrive_create_deal Write title, value, currency, person_id, org_id, stage_id, pipeline_id, status, probability, note Create a new deal in Pipedrive. Provide a title and optionally set value, currency, person, organization, stage, and other deal fields.
pipedrive.pipedrive_get_current_user Read none Get the profile of the currently authenticated Pipedrive user — name, email, company, timezone, and other account details.
pipedrive.pipedrive_get_deal Read id Get full details for a single deal in Pipedrive, including value, stage, person, organization, and custom fields.
pipedrive.pipedrive_get_person Read id Get full details for a single person (contact) in Pipedrive, including email, phone, organization, and custom fields.
pipedrive.pipedrive_list_deals Read user_id, person_id, org_id, status, limit, start List deals in Pipedrive with optional filters for user, person, organization, and status. Returns a paginated list of deals with key details.
pipedrive.pipedrive_list_organizations Read limit, start List organizations in Pipedrive. Returns a paginated list with name, address, owner, and other details.
pipedrive.pipedrive_list_persons Read limit, start List persons (contacts) in Pipedrive. Returns a paginated list with name, email, phone, organization, and owner details.

Automation Notes

Related Pipedrive CLI Pages