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/pomodoro-timer
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/pomodoro-timer/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.
focus_minutes· number · required- Enter the focus interval used in the calculation.
short_break_minutes· number · required- Enter the short break used in the calculation.
long_break_minutes· number · required- Enter the long break used in the calculation.
sessions_before_long_break· number · required- Enter the focus sessions before long break used in the calculation.
sound· boolean · optional- Turn play interval sound on or off.
{
"type": "object",
"properties": {
"focus_minutes": {
"type": "number",
"description": "Enter the focus interval used in the calculation.",
"minimum": 1,
"maximum": 180
},
"short_break_minutes": {
"type": "number",
"description": "Enter the short break used in the calculation.",
"minimum": 1,
"maximum": 60
},
"long_break_minutes": {
"type": "number",
"description": "Enter the long break used in the calculation.",
"minimum": 1,
"maximum": 120
},
"sessions_before_long_break": {
"type": "number",
"description": "Enter the focus sessions before long break used in the calculation.",
"minimum": 1,
"maximum": 12
},
"sound": {
"type": "boolean",
"description": "Turn play interval sound on or off."
}
},
"required": [
"focus_minutes",
"short_break_minutes",
"long_break_minutes",
"sessions_before_long_break"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
display· string- Timer display produced by the calculation.
phase· string- Current interval produced by the calculation.
completed_focus_sessions· number- Completed focus sessions produced by the calculation.
remaining_seconds· number- Remaining seconds produced by the calculation.
{
"type": "object",
"properties": {
"display": {
"type": "string",
"description": "Timer display produced by the calculation."
},
"phase": {
"type": "string",
"description": "Current interval produced by the calculation."
},
"completed_focus_sessions": {
"type": "number",
"description": "Completed focus sessions produced by the calculation."
},
"remaining_seconds": {
"type": "number",
"description": "Remaining seconds produced by the calculation."
}
},
"additionalProperties": false
}
Pomodoro Timer 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/pomodoro-timer/execute" \
-H "Content-Type: application/json" \
-d '{
"focus_minutes": 25,
"short_break_minutes": 5,
"long_break_minutes": 15,
"sessions_before_long_break": 4,
"sound": true
}'
{
"ok": true,
"data": {
"slug": "pomodoro-timer",
"result": {
"values": {
"display": "00:25:00",
"phase": "Focus",
"completed_focus_sessions": 0,
"remaining_seconds": 1500
},
"display": {
"display": "00:25:00"
},
"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.