KosmoKrator

automation

Phantombuster CLI for Headless Automation

Use the Phantombuster CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.

6 functions 5 read 1 write API key auth

Phantombuster CLI for Headless Automation

Use KosmoKrator as a non-interactive integration runtime for local automations and wrappers.

Use headless automation when another tool needs a stable local command surface. The Phantombuster CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.

Command Shape

# Phantombuster CLI for Headless Automation
kosmokrator integrations:configure phantombuster --set api_key="$PHANTOMBUSTER_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call phantombuster.phantombuster_list_agents '{}' --json

Discovery Before Execution

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

kosmo integrations:docs phantombuster --json
kosmo integrations:docs phantombuster.phantombuster_list_agents --json
kosmo integrations:schema phantombuster.phantombuster_list_agents --json
kosmo integrations:search "Phantombuster" --json
kosmo integrations:list --json

Useful Phantombuster CLI Functions

FunctionTypeParametersDescription
phantombuster.phantombuster_list_agents Read none List all Phantombuster agents in your account. Returns agent IDs, names, and status so you can inspect or launch them.
phantombuster.phantombuster_get_agent Read id Get details for a specific Phantombuster agent, including its configuration, last run status, and output.
phantombuster.phantombuster_launch_agent Write id Launch a Phantombuster agent to start an automation. Returns the container ID for tracking execution progress.
phantombuster.phantombuster_list_containers Read none List all Phantombuster containers (execution runs). Returns container IDs, associated agent IDs, status, and timestamps.
phantombuster.phantombuster_get_container Read id Get details for a specific Phantombuster container (execution run), including its status, output, and logs.
phantombuster.phantombuster_get_current_user Read none Get the authenticated Phantombuster user profile, including account info and plan details.

Automation Notes

Related Phantombuster CLI Pages