create_firewall_schedule
Creates a pfSense firewall schedule with an initial time range, as the API requires one at creation; add further ranges afterward.
Instructions
Create a firewall schedule with an initial time range.
The pfSense API requires at least one time range at creation. Use create_schedule_time_range to add further ranges afterwards.
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": {
"name": "<name>",
"hour": "<hour>"
},
"name": "create_firewall_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | Days of month pairing with `month` (e.g., month=[12], day=[25] for every Dec 25) | |
| hour | Yes | Start/end time for the initial time range in 24-hour format (e.g., "8:00-17:00") | |
| name | Yes | Schedule name (alphanumeric and underscores only) | |
| descr | No | Optional description | |
| month | No | Months (1-12) for specific calendar dates; each entry pairs with the same-index `day` entry | |
| position | No | Days of week for a weekly-recurring range (1=Monday ... 7=Sunday, e.g., [1,2,3,4,5]). Required unless month/day are given. | |
| rangedescr | No | Description for the initial time range | |
| schedlabel | No | Optional schedule label | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||