data
Builder.io CLI for Cron Jobs
Use the Builder.io CLI for cron jobs with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 6 read 1 write API key auth
Builder.io CLI for Cron Jobs
Schedule repeatable integration workflows from cron while keeping credentials in KosmoKrator config.
Use the headless CLI from cron when an operation should run without an interactive agent session. The Builder.io CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Builder.io CLI for Cron Jobs
kosmokrator integrations:configure builder-io --set api_key="$BUILDER_IO_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call builder-io.builder_io_list_models '{"limit":1,"offset":1}' --json Discovery Before Execution
Agents and scripts can inspect Builder.io docs and schemas before choosing a function.
kosmo integrations:docs builder-io --json
kosmo integrations:docs builder-io.builder_io_list_models --json
kosmo integrations:schema builder-io.builder_io_list_models --json
kosmo integrations:search "Builder.io" --json
kosmo integrations:list --json Useful Builder.io CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
builder-io.builder_io_list_models | Read | limit, offset | List all models in the Builder.io space. Optionally control pagination with limit and offset. Returns model IDs, names, kinds, and metadata. |
builder-io.builder_io_get_model | Read | model_id | Get detailed information about a specific Builder.io model by its ID or name. Returns the model definition including fields, kind, and metadata. |
builder-io.builder_io_list_content | Read | model_name, limit, offset, query, fields | List content entries for a specific Builder.io model. Optionally control pagination with limit and offset, or filter with a query string. Returns entry IDs, names, and data. |
builder-io.builder_io_get_content | Read | content_id | Get detailed information about a specific Builder.io content entry by its ID. Returns the full entry data, model reference, and timestamps. |
builder-io.builder_io_create_content | Write | model_name, name, data | Create a new content entry in Builder.io for a given model. Provide the model name and a JSON object with the content data. The entry is created as a draft by default. |
builder-io.builder_io_list_symbols | Read | limit, offset | List all symbols (reusable components) in the Builder.io space. Optionally control pagination with limit and offset. Returns symbol IDs, names, and metadata. |
builder-io.builder_io_get_current_user | Read | none | Get information about the currently authenticated Builder.io user. Returns the user's name, email, and account details. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.