createAssignment
Schedule a user on a Clockify project or task for a date range with optional daily hours and notes. Use it to plan assignments and allocate work time.
Instructions
Create a new scheduling assignment (paid feature)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspaceId": "<workspaceId>",
"userId": "<userId>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "createAssignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Assignment note (optional) | |
| taskId | No | Task ID (optional) | |
| userId | Yes | The user ID to assign | |
| endDate | Yes | End date in ISO 8601 format | |
| projectId | No | Project ID (optional) | |
| startDate | Yes | Start date in ISO 8601 format | |
| hoursPerDay | No | Hours per day for the assignment (optional) | |
| workspaceId | Yes | The workspace ID |