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
| Name | Type | Description |
|---|---|---|
| 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
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "hubstaff_write",
"arguments": {
"operation": "create_task",
"arguments": {
"project_id": 1,
"summary": "summary"
}
}
}
} Example response
{
"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
}