Overview
- Category
- Engineering
- 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/battery-charge-time-calculator
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/battery-charge-time-calculator/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.
battery_capacity· number · required- Enter the battery capacity used by this tool.
charge_current· number · required- Enter the charge current used by this tool.
charging_efficiency· number · required- Enter the charging efficiency used by this tool.
start_charge· number · required- Enter the starting charge used by this tool.
end_charge· number · required- Enter the target charge used by this tool.
{
"type": "object",
"properties": {
"battery_capacity": {
"type": "number",
"description": "Enter the battery capacity used by this tool.",
"minimum": 0
},
"charge_current": {
"type": "number",
"description": "Enter the charge current used by this tool.",
"minimum": 9.99999999999999954748111825886258685613938723690807819366455078125e-7
},
"charging_efficiency": {
"type": "number",
"description": "Enter the charging efficiency used by this tool.",
"minimum": 1,
"maximum": 100
},
"start_charge": {
"type": "number",
"description": "Enter the starting charge used by this tool.",
"minimum": 0,
"maximum": 100
},
"end_charge": {
"type": "number",
"description": "Enter the target charge used by this tool.",
"minimum": 0,
"maximum": 100
}
},
"required": [
"battery_capacity",
"charge_current",
"charging_efficiency",
"start_charge",
"end_charge"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
charge_time_hours· number- Estimated charge time produced by the tool.
charge_time_display· string- Charge time produced by the tool.
capacity_to_add· number- Capacity to add produced by the tool.
effective_charge_current· number- Effective charge current produced by the tool.
{
"type": "object",
"properties": {
"charge_time_hours": {
"type": "number",
"description": "Estimated charge time produced by the tool."
},
"charge_time_display": {
"type": "string",
"description": "Charge time produced by the tool."
},
"capacity_to_add": {
"type": "number",
"description": "Capacity to add produced by the tool."
},
"effective_charge_current": {
"type": "number",
"description": "Effective charge current produced by the tool."
}
},
"additionalProperties": false
}
Battery Charge Time Calculator 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/battery-charge-time-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"battery_capacity": 5000,
"charge_current": 1500,
"charging_efficiency": 85,
"start_charge": 20,
"end_charge": 100
}'
{
"ok": true,
"data": {
"slug": "battery-charge-time-calculator",
"result": {
"values": {
"charge_time_hours": 3.137255000000000126902932606753893196582794189453125,
"charge_time_display": "03:08:14",
"capacity_to_add": 4000,
"effective_charge_current": 1275
},
"display": {
"display": "3.137255"
},
"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.