set_capacity
Set a user's available hours for a given week. Users can update their own capacity; updating others requires org-level admin access. Feature: resourceMgmt (PRO+).
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": {
"userId": "<userId>",
"weekStart": "<weekStart>",
"hoursAvail": "<hoursAvail>"
},
"name": "set_capacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | User ID to update. Use caller's own ID for self-update. | |
| weekStart | Yes | Monday date (YYYY-MM-DD). | |
| hoursAvail | Yes | 0 to 168 hours. |