Overview
- Category
- Productivity
- 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/protractor-online
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/protractor-online/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.
angle· number · required- Enter angle.
direction· string · required-
Enter direction. Accepted values:
counterclockwise, clockwise. snap· string · required-
Enter snap increment. Accepted values:
1, 5, 15.
{
"type": "object",
"properties": {
"angle": {
"type": "number",
"description": "Enter angle."
},
"direction": {
"type": "string",
"description": "Enter direction.",
"enum": [
"counterclockwise",
"clockwise"
]
},
"snap": {
"type": "string",
"description": "Enter snap increment.",
"enum": [
"1",
"5",
"15"
]
}
},
"required": [
"angle",
"direction",
"snap"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
angle· number- Displayed angle produced by the tool.
radians· number- Radians produced by the tool.
classification· string- Angle classification produced by the tool.
coordinates· array- Ray endpoint produced by the tool.
{
"type": "object",
"properties": {
"angle": {
"type": "number",
"description": "Displayed angle produced by the tool."
},
"radians": {
"type": "number",
"description": "Radians produced by the tool."
},
"classification": {
"type": "string",
"description": "Angle classification produced by the tool."
},
"coordinates": {
"type": "array",
"description": "Ray endpoint produced by the tool."
}
},
"additionalProperties": false
}
Protractor Online 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/protractor-online/execute" \
-H "Content-Type: application/json" \
-d '{
"angle": 45,
"direction": "counterclockwise",
"snap": "1"
}'
{
"ok": true,
"data": {
"slug": "protractor-online",
"result": {
"values": {
"angle": 45,
"radians": 0.7853980000000000405435685024713166058063507080078125,
"classification": "Acute",
"coordinates": {
"x": 0.70711000000000001630695578569429926574230194091796875,
"y": 0.70711000000000001630695578569429926574230194091796875
}
},
"display": {
"display": "45"
},
"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.