Create task

Add a task to a project and assign it to members.

MCP tool hubstaff_write → create_task

write Confirm

Creates a task with a summary in a project and assigns it to one or more members. A project linked to a third-party tool takes tasks from that tool, so the call fails there and says so. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: create_task
NameTypeDescription
project_id integer required integer Project ID from list_projects.
summary string required string Task summary.
assignee_ids integer[] integer[] Member IDs from list_members.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "hubstaff_write",
    "arguments": {
      "operation": "create_task",
      "arguments": {
        "project_id": 1,
        "summary": "summary"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "task_id": 551030,
    "project_id": 90417,
    "summary": "Homepage design",
    "status": "active",
    "assignee_ids": [
      3011
    ]
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.