KosmoKrator

productivity

Wrike CLI for AI Agents

Use the Wrike CLI from KosmoKrator to call Wrike tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

14 functions 10 read 4 write Bearer token auth

Wrike CLI Setup

Wrike can be configured headlessly with `kosmokrator integrations:configure wrike`.

# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure wrike --set access_token="$WRIKE_ACCESS_TOKEN" --enable --read allow --write ask --json
kosmokrator integrations:doctor wrike --json
kosmokrator integrations:status --json

Credentials

Authentication type: Bearer token bearer_token. Configure credentials once, then use the same stored profile from scripts, coding CLIs, Lua code mode, and the MCP gateway.

KeyEnv varTypeRequiredLabel
access_token WRIKE_ACCESS_TOKEN Secret secret yes Access Token

Call Wrike Headlessly

Use the generic call form when another coding CLI or script needs a stable universal interface.

kosmo integrations:call wrike.wrike_create_task '{
  "folderId": "example_folderId",
  "title": "example_title",
  "description": "example_description",
  "importance": "example_importance",
  "status": "example_status",
  "dates": "example_dates",
  "assignees": "example_assignees"
}' --json

Use the provider shortcut form for shorter human-facing commands.

kosmo integrations:wrike wrike_create_task '{
  "folderId": "example_folderId",
  "title": "example_title",
  "description": "example_description",
  "importance": "example_importance",
  "status": "example_status",
  "dates": "example_dates",
  "assignees": "example_assignees"
}' --json

Agent Discovery Commands

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

kosmo integrations:docs wrike --json
kosmo integrations:docs wrike.wrike_create_task --json
kosmo integrations:schema wrike.wrike_create_task --json
kosmo integrations:search "Wrike" --json
kosmo integrations:list --json

All CLI Functions

Every function below can be called headlessly. The generic form is stable across all integrations; the provider shortcut is shorter but specific to Wrike.

wrike.wrike_create_task

Write write

Create a new task in Wrike.

Parameters
folderId, title, description, importance, status, dates, assignees

Generic CLI call

kosmo integrations:call wrike.wrike_create_task '{"folderId":"example_folderId","title":"example_title","description":"example_description","importance":"example_importance","status":"example_status","dates":"example_dates","assignees":"example_assignees"}' --json

Provider shortcut

kosmo integrations:wrike wrike_create_task '{"folderId":"example_folderId","title":"example_title","description":"example_description","importance":"example_importance","status":"example_status","dates":"example_dates","assignees":"example_assignees"}' --json

wrike.wrike_get_task

Read read

Get detailed information about a Wrike task.

Parameters
id

Generic CLI call

kosmo integrations:call wrike.wrike_get_task '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:wrike wrike_get_task '{"id":"example_id"}' --json

wrike.wrike_update_task

Write write

Update an existing Wrike task.

Parameters
task_id, title, description, status, importance, dates_due

Generic CLI call

kosmo integrations:call wrike.wrike_update_task '{"task_id":"example_task_id","title":"example_title","description":"example_description","status":"example_status","importance":"example_importance","dates_due":"example_dates_due"}' --json

Provider shortcut

kosmo integrations:wrike wrike_update_task '{"task_id":"example_task_id","title":"example_title","description":"example_description","status":"example_status","importance":"example_importance","dates_due":"example_dates_due"}' --json

wrike.wrike_list_tasks

Read read

List tasks in Wrike with optional filters.

Parameters
folderId, status, importance, limit, nextPageToken

Generic CLI call

kosmo integrations:call wrike.wrike_list_tasks '{"folderId":"example_folderId","status":"example_status","importance":"example_importance","limit":1,"nextPageToken":"example_nextPageToken"}' --json

Provider shortcut

kosmo integrations:wrike wrike_list_tasks '{"folderId":"example_folderId","status":"example_status","importance":"example_importance","limit":1,"nextPageToken":"example_nextPageToken"}' --json

wrike.wrike_add_comment

Write write

Add a comment to a Wrike task.

Parameters
task_id, text

Generic CLI call

kosmo integrations:call wrike.wrike_add_comment '{"task_id":"example_task_id","text":"example_text"}' --json

Provider shortcut

kosmo integrations:wrike wrike_add_comment '{"task_id":"example_task_id","text":"example_text"}' --json

wrike.wrike_get_project

Read read

Get detailed information about a Wrike project.

Parameters
id

Generic CLI call

kosmo integrations:call wrike.wrike_get_project '{"id":"example_id"}' --json

Provider shortcut

kosmo integrations:wrike wrike_get_project '{"id":"example_id"}' --json

wrike.wrike_list_projects

Read read

List projects in Wrike with optional filters.

Parameters
status, limit, nextPageToken

Generic CLI call

kosmo integrations:call wrike.wrike_list_projects '{"status":"example_status","limit":1,"nextPageToken":"example_nextPageToken"}' --json

Provider shortcut

kosmo integrations:wrike wrike_list_projects '{"status":"example_status","limit":1,"nextPageToken":"example_nextPageToken"}' --json

wrike.wrike_create_folder

Write write

Create a new folder in Wrike.

Parameters
title, parent_id, description

Generic CLI call

kosmo integrations:call wrike.wrike_create_folder '{"title":"example_title","parent_id":"example_parent_id","description":"example_description"}' --json

Provider shortcut

kosmo integrations:wrike wrike_create_folder '{"title":"example_title","parent_id":"example_parent_id","description":"example_description"}' --json

wrike.wrike_get_folder

Read read

Get detailed information about a Wrike folder.

Parameters
folder_id

Generic CLI call

kosmo integrations:call wrike.wrike_get_folder '{"folder_id":"example_folder_id"}' --json

Provider shortcut

kosmo integrations:wrike wrike_get_folder '{"folder_id":"example_folder_id"}' --json

wrike.wrike_list_folders

Read read

List folders in Wrike with optional filters.

Parameters
limit, nextPageToken

Generic CLI call

kosmo integrations:call wrike.wrike_list_folders '{"limit":1,"nextPageToken":"example_nextPageToken"}' --json

Provider shortcut

kosmo integrations:wrike wrike_list_folders '{"limit":1,"nextPageToken":"example_nextPageToken"}' --json

wrike.wrike_get_space

Read read

Get detailed information about a Wrike space.

Parameters
space_id

Generic CLI call

kosmo integrations:call wrike.wrike_get_space '{"space_id":"example_space_id"}' --json

Provider shortcut

kosmo integrations:wrike wrike_get_space '{"space_id":"example_space_id"}' --json

wrike.wrike_list_spaces

Read read

List spaces in Wrike.

Parameters
limit

Generic CLI call

kosmo integrations:call wrike.wrike_list_spaces '{"limit":1}' --json

Provider shortcut

kosmo integrations:wrike wrike_list_spaces '{"limit":1}' --json

wrike.wrike_list_contacts

Read read

List contacts in Wrike.

Parameters
limit

Generic CLI call

kosmo integrations:call wrike.wrike_list_contacts '{"limit":1}' --json

Provider shortcut

kosmo integrations:wrike wrike_list_contacts '{"limit":1}' --json

wrike.wrike_get_current_user

Read read

Get the currently authenticated Wrike user.

Parameters
none

Generic CLI call

kosmo integrations:call wrike.wrike_get_current_user '{}' --json

Provider shortcut

kosmo integrations:wrike wrike_get_current_user '{}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

wrike.wrike_create_task

Create a new task in Wrike.

Operation
Write write
Schema command
kosmo integrations:schema wrike.wrike_create_task --json
ParameterTypeRequiredDescription
folderId string yes Folder ID to create the task in.
title string yes Title of the task.
description string no Detailed description of the task.
importance string no Task importance (High, Normal, Low).
status string no Task status (Active, Completed, Deferred).
dates object no Date settings object (start, due, type).
assignees array no Array of user IDs to assign the task to.

wrike.wrike_get_task

Get detailed information about a Wrike task.

Operation
Read read
Schema command
kosmo integrations:schema wrike.wrike_get_task --json
ParameterTypeRequiredDescription
id string yes The task ID.

wrike.wrike_update_task

Update an existing Wrike task.

Operation
Write write
Schema command
kosmo integrations:schema wrike.wrike_update_task --json
ParameterTypeRequiredDescription
task_id string yes The task ID to update.
title string no New title for the task.
description string no New description for the task.
status string no New status (e.g. Active, Completed, Deferred).
importance string no Task importance: High, Normal, or Low.
dates_due string no New due date in YYYY-MM-DD format.

wrike.wrike_list_tasks

List tasks in Wrike with optional filters.

Operation
Read read
Schema command
kosmo integrations:schema wrike.wrike_list_tasks --json
ParameterTypeRequiredDescription
folderId string no Folder ID to list tasks from.
status string no Filter by status (e.g. Active, Completed, Deferred).
importance string no Filter by importance (e.g. High, Normal, Low).
limit integer no Max number of tasks to return.
nextPageToken string no Cursor for pagination from a previous response.

wrike.wrike_add_comment

Add a comment to a Wrike task.

Operation
Write write
Schema command
kosmo integrations:schema wrike.wrike_add_comment --json
ParameterTypeRequiredDescription
task_id string yes ID of the task to comment on.
text string yes Comment text (supports Markdown).

wrike.wrike_get_project

Get detailed information about a Wrike project.

Operation
Read read
Schema command
kosmo integrations:schema wrike.wrike_get_project --json
ParameterTypeRequiredDescription
id string yes The project ID.

wrike.wrike_list_projects

List projects in Wrike with optional filters.

Operation
Read read
Schema command
kosmo integrations:schema wrike.wrike_list_projects --json
ParameterTypeRequiredDescription
status string no Filter by project status (Active, Completed, Deferred).
limit integer no Max number of projects to return.
nextPageToken string no Cursor for pagination from a previous response.

wrike.wrike_create_folder

Create a new folder in Wrike.

Operation
Write write
Schema command
kosmo integrations:schema wrike.wrike_create_folder --json
ParameterTypeRequiredDescription
title string yes Title of the folder.
parent_id string no Parent folder or space ID to nest the folder under.
description string no Description of the folder.

wrike.wrike_get_folder

Get detailed information about a Wrike folder.

Operation
Read read
Schema command
kosmo integrations:schema wrike.wrike_get_folder --json
ParameterTypeRequiredDescription
folder_id string yes The folder ID.

wrike.wrike_list_folders

List folders in Wrike with optional filters.

Operation
Read read
Schema command
kosmo integrations:schema wrike.wrike_list_folders --json
ParameterTypeRequiredDescription
limit integer no Max number of folders to return.
nextPageToken string no Cursor for pagination from a previous response.

wrike.wrike_get_space

Get detailed information about a Wrike space.

Operation
Read read
Schema command
kosmo integrations:schema wrike.wrike_get_space --json
ParameterTypeRequiredDescription
space_id string yes The space ID.

wrike.wrike_list_spaces

List spaces in Wrike.

Operation
Read read
Schema command
kosmo integrations:schema wrike.wrike_list_spaces --json
ParameterTypeRequiredDescription
limit integer no Max number of spaces to return.

wrike.wrike_list_contacts

List contacts in Wrike.

Operation
Read read
Schema command
kosmo integrations:schema wrike.wrike_list_contacts --json
ParameterTypeRequiredDescription
limit integer no Max number of contacts to return.

wrike.wrike_get_current_user

Get the currently authenticated Wrike user.

Operation
Read read
Schema command
kosmo integrations:schema wrike.wrike_get_current_user --json
ParameterTypeRequiredDescription
No parameters.

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.