Overview
- Category
- Converters
- API mode
execute- 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/roman-numeral-converter
Execute availability
This tool has an execute route defined by its descriptor. Server-side execution is currently unavailable, so requests return api_not_launched.
POST /api/v1/tools/roman-numeral-converter/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.
mode· string · required-
Choose which calculation or conversion direction you need. Accepted values:
to_roman, to_number. value· string · required- Enter a whole number to create a numeral, or a Roman numeral to read it as a number.
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"to_roman",
"to_number"
],
"description": "Choose which calculation or conversion direction you need."
},
"value": {
"type": "string",
"description": "Enter a whole number to create a numeral, or a Roman numeral to read it as a number."
}
},
"required": [
"mode",
"value"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
result· string- Converted Roman numeral or whole-number string.
mode· string- Applied conversion direction.
{
"type": "object",
"properties": {
"result": {
"type": "string",
"description": "Converted Roman numeral or whole-number string."
},
"mode": {
"type": "string",
"enum": [
"to_roman",
"to_number"
],
"description": "Applied conversion direction."
}
},
"additionalProperties": false
}
Convert 2026 to Roman numerals
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/roman-numeral-converter/execute" \
-H "Content-Type: application/json" \
-d '{
"mode": "to_roman",
"value": "2026"
}'
{
"ok": true,
"data": {
"slug": "roman-numeral-converter",
"result": {
"values": {
"result": "MMXXVI",
"mode": "to_roman"
},
"display": {
"display": "MMXXVI"
},
"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.