Overview
- Category
- Date & Time
- API mode
not_available- Processing
- client-side
- Privacy
- no-data-stored
Public descriptor
The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.
GET /api/v1/tools/calendar
Execute availability
This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.
POST /api/v1/tools/calendar/execute
Authentication is not issued during the preview. A bearer API key is planned for execution after launch.
Input schema
object object; additional properties are not accepted.
year· number · required- Enter year.
month· number · required- Enter month.
week_start· string · required-
Enter week starts. Accepted values:
sunday, monday.
{
"type": "object",
"properties": {
"year": {
"type": "number",
"description": "Enter year."
},
"month": {
"type": "number",
"description": "Enter month."
},
"week_start": {
"type": "string",
"description": "Enter week starts.",
"enum": [
"sunday",
"monday"
]
}
},
"required": [
"year",
"month",
"week_start"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
weeks· array- Calendar weeks produced by the tool.
month_name· string- Month produced by the tool.
days_in_month· number- Days in month produced by the tool.
leading_blanks· number- Leading blanks produced by the tool.
{
"type": "object",
"properties": {
"weeks": {
"type": "array",
"description": "Calendar weeks produced by the tool."
},
"month_name": {
"type": "string",
"description": "Month produced by the tool."
},
"days_in_month": {
"type": "number",
"description": "Days in month produced by the tool."
},
"leading_blanks": {
"type": "number",
"description": "Leading blanks produced by the tool."
}
},
"additionalProperties": false
}
Calendar worked example
The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.
curl -X POST "https://utilitypages.org/api/v1/tools/calendar/execute" \
-H "Content-Type: application/json" \
-d '{
"year": 2026,
"month": 7,
"week_start": "sunday"
}'
{
"ok": true,
"data": {
"slug": "calendar",
"result": {
"values": {
"weeks": [
{
"day_1": "",
"day_2": "",
"day_3": "",
"day_4": 1,
"day_5": 2,
"day_6": 3,
"day_7": 4
},
{
"day_1": 5,
"day_2": 6,
"day_3": 7,
"day_4": 8,
"day_5": 9,
"day_6": 10,
"day_7": 11
},
{
"day_1": 12,
"day_2": 13,
"day_3": 14,
"day_4": 15,
"day_5": 16,
"day_6": 17,
"day_7": 18
},
{
"day_1": 19,
"day_2": 20,
"day_3": 21,
"day_4": 22,
"day_5": 23,
"day_6": 24,
"day_7": 25
},
{
"day_1": 26,
"day_2": 27,
"day_3": 28,
"day_4": 29,
"day_5": 30,
"day_6": 31,
"day_7": ""
},
{
"day_1": "",
"day_2": "",
"day_3": "",
"day_4": "",
"day_5": "",
"day_6": "",
"day_7": ""
}
],
"month_name": "July 2026",
"days_in_month": 31,
"leading_blanks": 3
},
"display": {
"display": "[{\"day_1\":\"\",\"day_2\":\"\",\"day_3\":\"\",\"day_4\":1,\"day_5\":2,\"day_6\":3,\"day_7\":4},{\"day_1\":5,\"day_2\":6,\"day_3\":7,\"day_4\":8,\"day_5\":9,\"day_6\":10,\"day_7\":11},{\"day_1\":12,\"day_2\":13,\"day_3\":14,\"day_4\":15,\"day_5\":16,\"day_6\":17,\"day_7\":18},{\"day_1\":19,\"day_2\":20,\"day_3\":21,\"day_4\":22,\"day_5\":23,\"day_6\":24,\"day_7\":25},{\"day_1\":26,\"day_2\":27,\"day_3\":28,\"day_4\":29,\"day_5\":30,\"day_6\":31,\"day_7\":\"\"},{\"day_1\":\"\",\"day_2\":\"\",\"day_3\":\"\",\"day_4\":\"\",\"day_5\":\"\",\"day_6\":\"\",\"day_7\":\"\"}]"
},
"warnings": [],
"assumptions": [],
"steps": []
}
},
"meta": [],
"request_id": "req_example_123"
}
Errors
api_not_launched· 503- Returned by the current launch gate for every execute request.
invalid_json· 400- Returned when an enabled execute request does not contain valid JSON.
validation_failed· 422- Returned when a request does not satisfy the input schema.
browser_interaction_required· 422- Returned for browser capability tools instead of inventing a server-side result.
tool_not_found· 404- Returned when a requested descriptor slug does not exist.
execution_failed· 503- Returned when an enabled server-side execution cannot complete.