KosmoKrator

sales

Lasso CRM CLI for Coding Agents

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

7 functions 6 read 1 write API token auth

Lasso CRM 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 Lasso CRM CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Lasso CRM CLI for Coding Agents
kosmokrator integrations:configure lasso --set token="$LASSO_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call lasso.lasso_list_contacts '{"project_id":"example_project_id","limit":1,"page":1}' --json

Discovery Before Execution

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

kosmo integrations:docs lasso --json
kosmo integrations:docs lasso.lasso_list_contacts --json
kosmo integrations:schema lasso.lasso_list_contacts --json
kosmo integrations:search "Lasso CRM" --json
kosmo integrations:list --json

Useful Lasso CRM CLI Functions

FunctionTypeParametersDescription
lasso.lasso_list_contacts Read project_id, limit, page List contacts (registrants) in Lasso CRM. Optionally filter by project ID or other criteria. Supports pagination.
lasso.lasso_get_contact Read id Get full details for a single contact (registrant) in Lasso CRM, including emails, phone numbers, and associated information.
lasso.lasso_create_contact Write first_name, last_name, email, phone, project_id, source, notes Create a new contact (registrant) in Lasso CRM. Provide at least a first name or last name, and optionally email, phone, and other details.
lasso.lasso_list_deals Read project_id, status, limit, page List deals (sales) in Lasso CRM. Optionally filter by project ID or status. Supports pagination.
lasso.lasso_get_deal Read id Get full details for a single deal (sale) in Lasso CRM, including pricing, unit details, and associated contacts.
lasso.lasso_list_inventory Read project_id, status, limit, page List available inventory (units/lots) in Lasso CRM. Optionally filter by project ID or status. Supports pagination.
lasso.lasso_get_current_user Read none Get the profile of the currently authenticated Lasso CRM user — name, email, organization, and other account details.

Automation Notes

Related Lasso CRM CLI Pages