Overview
- Category
- Education
- 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/harvard-citation-generator
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/harvard-citation-generator/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.
source_type· string · required-
Enter source type. Accepted values:
webpage, book, journal. author· string · required- Enter author.
title· string · required- Enter title.
publisher· string · required- Enter publisher or site.
year· number · required- Enter year.
url· string · required- Enter url.
{
"type": "object",
"properties": {
"source_type": {
"type": "string",
"description": "Enter source type.",
"enum": [
"webpage",
"book",
"journal"
]
},
"author": {
"type": "string",
"description": "Enter author."
},
"title": {
"type": "string",
"description": "Enter title."
},
"publisher": {
"type": "string",
"description": "Enter publisher or site."
},
"year": {
"type": "number",
"description": "Enter year."
},
"url": {
"type": "string",
"description": "Enter url."
}
},
"required": [
"source_type",
"author",
"title",
"publisher",
"year",
"url"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
citation· string- Formatted citation produced by the tool.
in_text· string- In-text citation produced by the tool.
fields· array- Source fields produced by the tool.
{
"type": "object",
"properties": {
"citation": {
"type": "string",
"description": "Formatted citation produced by the tool."
},
"in_text": {
"type": "string",
"description": "In-text citation produced by the tool."
},
"fields": {
"type": "array",
"description": "Source fields produced by the tool."
}
},
"additionalProperties": false
}
Harvard Citation Generator 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/harvard-citation-generator/execute" \
-H "Content-Type: application/json" \
-d '{
"source_type": "webpage",
"author": "Jordan Example",
"title": "A Useful Source",
"publisher": "Example Press",
"year": 2026,
"url": "https://example.com/source"
}'
{
"ok": true,
"data": {
"slug": "harvard-citation-generator",
"result": {
"values": {
"citation": "Jordan Example. “A Useful Source.” Example Press, 2026. https://example.com/source.",
"in_text": "(Example, 2026)",
"fields": [
{
"field": "source_type",
"value": "webpage"
},
{
"field": "author",
"value": "Jordan Example"
},
{
"field": "title",
"value": "A Useful Source"
},
{
"field": "publisher",
"value": "Example Press"
},
{
"field": "year",
"value": 2026
},
{
"field": "url",
"value": "https://example.com/source"
}
]
},
"display": {
"display": "Jordan Example. “A Useful Source.” Example Press, 2026. https://example.com/source."
},
"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.