KosmoKrator

productivity

Kintone CLI for Headless Automation

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

7 functions 6 read 1 write Bearer token auth

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

Command Shape

# Kintone CLI for Headless Automation
kosmokrator integrations:configure kintone --set access_token="$KINTONE_ACCESS_TOKEN" --set domain="$KINTONE_DOMAIN" --enable --read allow --write ask --json
kosmo integrations:call kintone.kintone_list_records '{"app":1,"query":"example_query","fields":"example_fields","limit":1,"offset":1}' --json

Discovery Before Execution

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

kosmo integrations:docs kintone --json
kosmo integrations:docs kintone.kintone_list_records --json
kosmo integrations:schema kintone.kintone_list_records --json
kosmo integrations:search "Kintone" --json
kosmo integrations:list --json

Useful Kintone CLI Functions

FunctionTypeParametersDescription
kintone.kintone_list_records Read app, query, fields, limit, offset Retrieve records from a Kintone app. Supports filtering with a query string, selecting specific fields, and pagination with limit/offset. Use this to search and list data stored in any Kintone app.
kintone.kintone_get_record Read app, id Retrieve a single record from a Kintone app by its record ID. Returns all field values for the record.
kintone.kintone_create_record Write app, record Create a new record in a Kintone app. The record parameter is an object keyed by field codes, each containing a "value" property (e.g., {"Title": {"value": "Hello"}, "Number": {"value": 42}}).
kintone.kintone_list_apps Read limit, offset List available Kintone apps. Returns app IDs, names, and descriptions to help discover which apps are accessible.
kintone.kintone_get_app Read id Get details of a specific Kintone app, including its name, description, and settings.
kintone.kintone_list_spaces Read limit, offset List Kintone spaces. Spaces are collaborative workspaces that contain apps, threads, and other resources.
kintone.kintone_get_current_user Read none Get the profile of the currently authenticated Kintone user, including name, email, and user settings.

Automation Notes

Related Kintone CLI Pages