forms
Formstack CLI for Headless Automation
Use the Formstack CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
8 functions 6 read 2 write Manual OAuth token auth
Formstack 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 Formstack CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Formstack CLI for Headless Automation
kosmokrator integrations:configure formstack --set access_token="$FORMSTACK_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call formstack.formstack_list_forms '{"page":1,"per_page":1,"search":"example_search"}' --json Discovery Before Execution
Agents and scripts can inspect Formstack docs and schemas before choosing a function.
kosmo integrations:docs formstack --json
kosmo integrations:docs formstack.formstack_list_forms --json
kosmo integrations:schema formstack.formstack_list_forms --json
kosmo integrations:search "Formstack" --json
kosmo integrations:list --json Useful Formstack CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
formstack.formstack_list_forms | Read | page, per_page, search | List all forms in your Formstack account. Returns form names, IDs, and pagination info. Use search to filter by name. |
formstack.formstack_get_form | Read | form_id | Get details and field structure of a specific Formstack form. Returns all fields, their types, labels, and options. |
formstack.formstack_list_submissions | Read | form_id, page, per_page, expand_data | List submissions for a specific Formstack form. Returns submission IDs, timestamps, and optionally expanded field data. |
formstack.formstack_get_submission | Read | submission_id | Get details of a specific Formstack submission. Returns all field values, timestamps, and metadata. |
formstack.formstack_create_submission | Write | form_id, fields | Create a new submission for a Formstack form. Pass field values using the field keys from the form structure. Use Get Form first to discover available fields. |
formstack.formstack_delete_submission | Write | submission_id | Delete a Formstack submission. This action is permanent and cannot be undone. |
formstack.formstack_list_folders | Read | none | List all folders in your Formstack account. Folders are used to organize forms. |
formstack.formstack_get_current_user | Read | none | Get the currently authenticated Formstack user profile. Returns name, email, and account info. |
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.