draft_document
Draft a markdown document directly into a project document library as a first-class file (mimeType=text/markdown). The operator opens it from the Documents tab and reads the styled output. Use for status reports, summaries, and other prose deliverables the agent wants the team to review in context. libraryId must reference an existing library; create one first via create_library if needed. contentMarkdown is capped at 100KB UTF-8; split into multiple documents or take the file-upload route for anything larger. Supported markdown features: headings (h1-h6), bold, italic, inline code, bullet + numbered lists (including multi-level nesting), paragraphs, links and auto-linked URLs, GFM pipe tables, blockquotes, fenced code blocks, and thematic breaks (---). NOT supported: embedded images ( degrades to its alt text), footnotes, and setext (underline) headings. Requires project.content.create (CONTRIBUTOR+; Viewers are read-only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | 1..200 chars. Becomes the document name + filename stem. | |
| libraryId | Yes | ||
| contentMarkdown | Yes | UTF-8 markdown, max 100KB. |