Skip to content

Search Documentation

Search across all documentation pages

create_task

Create a new task on the kanban board. Tasks are stored as memories with memoryType='task'. Supports status tracking, priority levels, agent assignment, and natural language completion criteria for auto-detection.

Parameters#

ParameterTypeRequiredDescription
titlestring (1-500 chars)requiredTask title (plaintext -- encrypted before storage)
descriptionstring (max 5000 chars)optionalOptional task description (plaintext -- encrypted before storage)
vaultIdstring (UUID)optionalVault to scope the task to. Defaults to defaultVaultId.
statusstringoptionalInitial status: backlog, todo, in_progress, done, blocked (default: todo)
priorityinteger (1-5)optionalPriority 1-5 (5=critical). Defaults to 3.
agentIdstring (max 200 chars)optionalAgent that created this task
agentRunIdstring (max 200 chars)optionalAgent run/session ID
assignedAgentIdstring (max 200 chars)optionalAgent assigned to work on this task. Use any to let any agent pick it up.
doneWhenstring (max 1000 chars)optionalNatural language completion criteria. When set, ExoVault can auto-detect task completion.

Returns#

The created task object with its ID (memory ID), title, status, and priority.

Example#

json
{
  "tool": "create_task",
  "arguments": {
    "title": "Implement OAuth2 token refresh",
    "description": "Add automatic token refresh logic using the PKCE flow. Handle expired tokens gracefully with retry logic.",
    "status": "todo",
    "priority": 4,
    "assignedAgentId": "claude_code",
    "doneWhen": "Token refresh works automatically when access token expires, with proper error handling and retry logic"
  }
}