inputSchema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"description": "Article or document text (Markdown or plain text)"
},
"platform": {
"enum": [
"dev.to",
"medium",
"hashnode",
"blog",
"general"
],
"type": "string",
"description": "Target platform for optimization hints"
},
"targetAudience": {
"type": "string",
"description": "Target audience description"
}
}
}
outputSchema
{
"type": "object",
"required": [
"readability",
"virality",
"sentiment",
"structure",
"recommendations"
],
"properties": {
"virality": {
"type": "object",
"properties": {
"score": {
"type": "number"
},
"factors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"score": {
"type": "number"
},
"detail": {
"type": "string"
}
}
}
}
}
},
"sentiment": {
"type": "object",
"properties": {
"tone": {
"type": "string"
},
"score": {
"type": "number"
}
}
},
"structure": {
"type": "object",
"properties": {
"links": {
"type": "integer"
},
"avgLength": {
"type": "number"
},
"wordCount": {
"type": "integer"
},
"codeBlocks": {
"type": "integer"
},
"paragraphs": {
"type": "integer"
},
"hasHeadings": {
"type": "boolean"
}
}
},
"readability": {
"type": "object",
"properties": {
"grade": {
"type": "string"
},
"score": {
"type": "number"
},
"language": {
"type": "string"
}
}
},
"recommendations": {
"type": "array",
"items": {
"type": "string"
}
}
}
}