KosmoKrator

forms

Formstack CLI for Coding Agents

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

8 functions 6 read 2 write Manual OAuth token auth

Formstack 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 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 Coding Agents
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

FunctionTypeParametersDescription
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

Related Formstack CLI Pages