KosmoKrator

productivity

Zapier CLI for Coding Agents

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

7 functions 7 read 0 write Bearer token auth

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

Command Shape

# Zapier CLI for Coding Agents
kosmokrator integrations:configure zapier --set access_token="$ZAPIER_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call zapier.zapier_list_zaps '{"limit":1,"page":1}' --json

Discovery Before Execution

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

kosmo integrations:docs zapier --json
kosmo integrations:docs zapier.zapier_list_zaps --json
kosmo integrations:schema zapier.zapier_list_zaps --json
kosmo integrations:search "Zapier" --json
kosmo integrations:list --json

Useful Zapier CLI Functions

FunctionTypeParametersDescription
zapier.zapier_list_zaps Read limit, page List zaps in Zapier with optional filters.
zapier.zapier_get_zap Read id Get detailed information about a Zapier zap.
zapier.zapier_list_executions Read zap_id, limit, page List zap executions in Zapier with optional filters.
zapier.zapier_get_execution Read id Get detailed information about a Zapier execution.
zapier.zapier_list_connections Read limit, page List connections in Zapier with optional filters.
zapier.zapier_get_connection Read id Get detailed information about a Zapier connection.
zapier.zapier_get_current_user Read none Get the currently authenticated Zapier user.

Automation Notes

Related Zapier CLI Pages