Asana CLI Setup Asana can be configured headlessly with `kosmokrator integrations:configure asana`.
# 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 asana --set access_token=" $ASANA_ACCESS_TOKEN " --enable --read allow --write ask --json
kosmokrator integrations:doctor asana --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.
Call Asana Headlessly Use the generic call form when another coding CLI or script needs a stable universal interface.
kosmo integrations:call asana.asana_create_task '{
"name": "example_name",
"notes": "example_notes",
"projects": "example_projects",
"assignee": "example_assignee",
"due_on": "example_due_on",
"tags": "example_tags",
"workspace": "example_workspace"
}' --json Use the provider shortcut form for shorter human-facing commands.
kosmo integrations:asana asana_create_task '{
"name": "example_name",
"notes": "example_notes",
"projects": "example_projects",
"assignee": "example_assignee",
"due_on": "example_due_on",
"tags": "example_tags",
"workspace": "example_workspace"
}' --json Agent Discovery Commands
These commands return structured output for coding agents that need to inspect capabilities before choosing a function.
kosmo integrations:docs asana --json
kosmo integrations:docs asana.asana_create_task --json
kosmo integrations:schema asana.asana_create_task --json
kosmo integrations:search "Asana" --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 Asana.
asana.asana_create_task Write write Create a new task in Asana.
name, notes, projects, assignee, due_on, tags, workspace kosmo integrations:call asana.asana_create_task '{"name":"example_name","notes":"example_notes","projects":"example_projects","assignee":"example_assignee","due_on":"example_due_on","tags":"example_tags","workspace":"example_workspace"}' --json copy kosmo integrations:asana asana_create_task '{"name":"example_name","notes":"example_notes","projects":"example_projects","assignee":"example_assignee","due_on":"example_due_on","tags":"example_tags","workspace":"example_workspace"}' --json copy
asana.asana_get_task Read read Get detailed information about an Asana task.
id kosmo integrations:call asana.asana_get_task '{"id":"example_id"}' --json copy kosmo integrations:asana asana_get_task '{"id":"example_id"}' --json copy
asana.asana_update_task Write write Update an existing Asana task.
id, name, notes, assignee, due_on, completed, tags kosmo integrations:call asana.asana_update_task '{"id":"example_id","name":"example_name","notes":"example_notes","assignee":"example_assignee","due_on":"example_due_on","completed":true,"tags":"example_tags"}' --json copy kosmo integrations:asana asana_update_task '{"id":"example_id","name":"example_name","notes":"example_notes","assignee":"example_assignee","due_on":"example_due_on","completed":true,"tags":"example_tags"}' --json copy
asana.asana_delete_task Write write Delete an Asana task permanently.
id kosmo integrations:call asana.asana_delete_task '{"id":"example_id"}' --json copy kosmo integrations:asana asana_delete_task '{"id":"example_id"}' --json copy
asana.asana_list_tasks Read read List tasks in Asana with optional filters.
project, assignee, workspace, completed_since, limit, offset kosmo integrations:call asana.asana_list_tasks '{"project":"example_project","assignee":"example_assignee","workspace":"example_workspace","completed_since":"example_completed_since","limit":1,"offset":"example_offset"}' --json copy kosmo integrations:asana asana_list_tasks '{"project":"example_project","assignee":"example_assignee","workspace":"example_workspace","completed_since":"example_completed_since","limit":1,"offset":"example_offset"}' --json copy
asana.asana_create_subtask Write write Create a subtask under an existing Asana task.
parent_id, name, notes, assignee kosmo integrations:call asana.asana_create_subtask '{"parent_id":"example_parent_id","name":"example_name","notes":"example_notes","assignee":"example_assignee"}' --json copy kosmo integrations:asana asana_create_subtask '{"parent_id":"example_parent_id","name":"example_name","notes":"example_notes","assignee":"example_assignee"}' --json copy
asana.asana_create_project Write write Create a new project in Asana.
name, notes, workspace, team, color kosmo integrations:call asana.asana_create_project '{"name":"example_name","notes":"example_notes","workspace":"example_workspace","team":"example_team","color":"example_color"}' --json copy kosmo integrations:asana asana_create_project '{"name":"example_name","notes":"example_notes","workspace":"example_workspace","team":"example_team","color":"example_color"}' --json copy
asana.asana_get_project Read read Get detailed information about an Asana project.
id kosmo integrations:call asana.asana_get_project '{"id":"example_id"}' --json copy kosmo integrations:asana asana_get_project '{"id":"example_id"}' --json copy
asana.asana_list_projects Read read List projects in Asana with optional filters.
workspace, team, archived, limit, offset kosmo integrations:call asana.asana_list_projects '{"workspace":"example_workspace","team":"example_team","archived":true,"limit":1,"offset":"example_offset"}' --json copy kosmo integrations:asana asana_list_projects '{"workspace":"example_workspace","team":"example_team","archived":true,"limit":1,"offset":"example_offset"}' --json copy
asana.asana_list_sections Read read List sections in an Asana project.
project_id, limit, offset kosmo integrations:call asana.asana_list_sections '{"project_id":"example_project_id","limit":1,"offset":"example_offset"}' --json copy kosmo integrations:asana asana_list_sections '{"project_id":"example_project_id","limit":1,"offset":"example_offset"}' --json copy
asana.asana_list_workspaces Read read List all workspaces the authenticated user has access to.
none kosmo integrations:call asana.asana_list_workspaces '{}' --json copy kosmo integrations:asana asana_list_workspaces '{}' --json copy
asana.asana_list_teams Read read List teams in an Asana workspace.
workspace_id kosmo integrations:call asana.asana_list_teams '{"workspace_id":"example_workspace_id"}' --json copy kosmo integrations:asana asana_list_teams '{"workspace_id":"example_workspace_id"}' --json copy
asana.asana_list_users Read read List users in an Asana workspace.
workspace, limit, offset kosmo integrations:call asana.asana_list_users '{"workspace":"example_workspace","limit":1,"offset":"example_offset"}' --json copy kosmo integrations:asana asana_list_users '{"workspace":"example_workspace","limit":1,"offset":"example_offset"}' --json copy
asana.asana_get_user Read read Get detailed information about an Asana user.
id kosmo integrations:call asana.asana_get_user '{"id":"example_id"}' --json copy kosmo integrations:asana asana_get_user '{"id":"example_id"}' --json copy
asana.asana_get_user_task_list Read read Get the user task list for a given user and workspace.
user_id, workspace_id kosmo integrations:call asana.asana_get_user_task_list '{"user_id":"example_user_id","workspace_id":"example_workspace_id"}' --json copy kosmo integrations:asana asana_get_user_task_list '{"user_id":"example_user_id","workspace_id":"example_workspace_id"}' --json copy
asana.asana_list_tags Read read List tags in an Asana workspace.
workspace, limit, offset kosmo integrations:call asana.asana_list_tags '{"workspace":"example_workspace","limit":1,"offset":"example_offset"}' --json copy kosmo integrations:asana asana_list_tags '{"workspace":"example_workspace","limit":1,"offset":"example_offset"}' --json copy
asana.asana_create_tag Write write Create a new tag in Asana.
name, workspace, color kosmo integrations:call asana.asana_create_tag '{"name":"example_name","workspace":"example_workspace","color":"example_color"}' --json copy kosmo integrations:asana asana_create_tag '{"name":"example_name","workspace":"example_workspace","color":"example_color"}' --json copy
asana.asana_get_current_user Read read Get the currently authenticated Asana user.
none kosmo integrations:call asana.asana_get_current_user '{}' --json copy kosmo integrations:asana asana_get_current_user '{}' --json copy Function Schemas Use these parameter tables when building CLI payloads without calling integrations:schema first.
Operation Write write
Schema command kosmo integrations:schema asana.asana_create_task --json
Operation Read read
Schema command kosmo integrations:schema asana.asana_get_task --json
Operation Write write
Schema command kosmo integrations:schema asana.asana_update_task --json
Operation Write write
Schema command kosmo integrations:schema asana.asana_delete_task --json
Operation Read read
Schema command kosmo integrations:schema asana.asana_list_tasks --json
Operation Write write
Schema command kosmo integrations:schema asana.asana_create_subtask --json
Operation Write write
Schema command kosmo integrations:schema asana.asana_add_comment --json
Operation Read read
Schema command kosmo integrations:schema asana.asana_list_comments --json
Operation Write write
Schema command kosmo integrations:schema asana.asana_create_project --json
Operation Read read
Schema command kosmo integrations:schema asana.asana_get_project --json
Operation Read read
Schema command kosmo integrations:schema asana.asana_list_projects --json
Operation Read read
Schema command kosmo integrations:schema asana.asana_list_sections --json
Operation Read read
Schema command kosmo integrations:schema asana.asana_list_workspaces --json
Operation Read read
Schema command kosmo integrations:schema asana.asana_list_teams --json
Operation Read read
Schema command kosmo integrations:schema asana.asana_list_users --json
Operation Read read
Schema command kosmo integrations:schema asana.asana_get_user --json
Operation Read read
Schema command kosmo integrations:schema asana.asana_get_user_task_list --json
Operation Read read
Schema command kosmo integrations:schema asana.asana_list_tags --json
Operation Write write
Schema command kosmo integrations:schema asana.asana_create_tag --json
Operation Read read
Schema command kosmo integrations:schema asana.asana_get_current_user --json 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.