set_resource_availability
Add an availability window for a resource. Use day-of-week + recurring=true for weekly schedules, or a specific date for one-off blocks.
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": {
"resourceId": "<resourceId>",
"startTime": "<startTime>",
"endTime": "<endTime>"
},
"name": "set_resource_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | YYYY-MM-DD for a specific date instead of dayOfWeek | |
| type | No | Default available | |
| endTime | Yes | HH:MM (24h) | |
| dayOfWeek | No | Day of week (0=Sun..6=Sat) | |
| startTime | Yes | HH:MM (24h) | |
| resourceId | Yes | Resource ID | |
| isRecurring | No | Default true |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |