Runn: create assignment
runn_create_assignmentAssign a person to a project with role, dates, and minutes per day. Automatically segments assignments when leave periods overlap.
Instructions
Create an assignment (POST /assignments). Required: personId, projectId, roleId, startDate, endDate, minutesPerDay. Note: the response may contain multiple segments if the period overlaps leave.
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": {
"personId": "<personId>",
"projectId": "<projectId>",
"roleId": "<roleId>",
"startDate": "<startDate>",
"endDate": "<endDate>",
"minutesPerDay": "<minutesPerDay>"
},
"name": "runn_create_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| roleId | Yes | ||
| endDate | Yes | ||
| phaseId | No | ||
| personId | Yes | ||
| projectId | Yes | ||
| startDate | Yes | ||
| isBillable | No | Defaults to true; must be false for non-billable projects. | |
| workstreamId | No | ||
| minutesPerDay | Yes | ||
| isNonWorkingDay | No |