KosmoKrator

productivity

Teamwork CLI for Coding Agents

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

7 functions 6 read 1 write API token auth

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

Command Shape

# Teamwork CLI for Coding Agents
kosmokrator integrations:configure teamwork --set api_token="$TEAMWORK_API_TOKEN" --enable --read allow --write ask --json
kosmo integrations:call teamwork.teamwork_create_task '{"projectId":1,"name":"example_name","description":"example_description","assigneeId":1,"dueDate":"example_dueDate","priority":"example_priority","startDate":"example_startDate"}' --json

Discovery Before Execution

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

kosmo integrations:docs teamwork --json
kosmo integrations:docs teamwork.teamwork_create_task --json
kosmo integrations:schema teamwork.teamwork_create_task --json
kosmo integrations:search "Teamwork" --json
kosmo integrations:list --json

Useful Teamwork CLI Functions

FunctionTypeParametersDescription
teamwork.teamwork_create_task Write projectId, name, description, assigneeId, dueDate, priority, startDate Create a new task in Teamwork.
teamwork.teamwork_get_current_user Read none Get the currently authenticated Teamwork user.
teamwork.teamwork_get_project Read id Get detailed information about a Teamwork project.
teamwork.teamwork_get_task Read id Get detailed information about a Teamwork task.
teamwork.teamwork_list_projects Read status, page, pageSize List projects in Teamwork with optional filters.
teamwork.teamwork_list_tasks Read projectId, page, pageSize, filter, sort List tasks in Teamwork with optional filters.
teamwork.teamwork_list_timers Read page, pageSize List time timers for the authenticated user in Teamwork.

Automation Notes

Related Teamwork CLI Pages