forms
Tally CLI for Headless Automation
Use the Tally CLI for headless automation with headless JSON commands, schema discovery, credentials, and permission controls.
6 functions 6 read 0 write Bearer token auth
Tally 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 Tally CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Tally CLI for Headless Automation
kosmokrator integrations:configure tally --set access_token="$TALLY_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call tally.tally_get_current_user '{}' --json Discovery Before Execution
Agents and scripts can inspect Tally docs and schemas before choosing a function.
kosmo integrations:docs tally --json
kosmo integrations:docs tally.tally_get_current_user --json
kosmo integrations:schema tally.tally_get_current_user --json
kosmo integrations:search "Tally" --json
kosmo integrations:list --json Useful Tally CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
tally.tally_get_current_user | Read | none | Get the authenticated user's profile information, including name, email, and account details. |
tally.tally_get_form | Read | form_id | Get full details of a specific Tally form by its ID, including form structure, fields, and settings. |
tally.tally_get_submission | Read | submission_id | Get full details of a specific form submission by its ID, including all field responses and metadata. |
tally.tally_list_forms | Read | page, limit | List all Tally forms accessible to the authenticated user. Returns form IDs, titles, status, and submission counts. Supports pagination. |
tally.tally_list_submissions | Read | form_id, page, limit | List all submissions for a specific Tally form. Returns respondent answers, submission dates, and metadata. Supports pagination. |
tally.tally_list_workspaces | Read | none | List all workspaces accessible to the authenticated Tally user. Returns workspace names, IDs, and member 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.