Draft Assignment
draft_assignmentCreate a template-faithful assignment .docx from markdown-ish content with headings, bullets, figures, and optional style linting.
Instructions
Draft a template-faithful .docx from markdown-ish content text.
content syntax: '## Section' headings, plain lines = BodyText paragraphs,
'- item' bullets, '1. item' numbered, '
'
figures (caption above, alt text set), '' comments skipped.
Image paths resolve relative to WORD_EXPORTS.
date: 'YYYY-MM-DD' (default today). master/output: paths; defaults come from WORD_MASTER / WORD_EXPORTS. skip_metadata=True renders into any plain .docx (content appended, no controls needed). lint=True (default) style-checks the content first and refuses on errors; set lint=False to skip, allow_em_dash=True for mandated em dashes. Returns a human-readable summary including the output path.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"content": "<content>",
"title": "<title>"
},
"name": "draft_assignment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| lint | No | ||
| name | No | ||
| title | Yes | ||
| course | No | ||
| master | No | ||
| output | No | ||
| content | Yes | ||
| doctype | No | ||
| allow_em_dash | No | ||
| skip_metadata | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |