Draft Assignment File
draft_assignment_fileDraft an assignment .docx from a Markdown-style content file, style-checking the text by default and resolving image paths relative to the file.
Instructions
Like draft_assignment, but reads the content from a file path.
Image paths in the file resolve relative to that file's folder. lint=True (default) style-checks the file's content first.
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_path": "<content_path>",
"title": "<title>"
},
"name": "draft_assignment_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| lint | No | ||
| name | No | ||
| title | Yes | ||
| course | No | ||
| master | No | ||
| output | No | ||
| doctype | No | ||
| content_path | Yes | ||
| allow_em_dash | No | ||
| skip_metadata | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |