workflow_write_note
Creates a structured literature note in Obsidian from a citation key, metadata, and section content, setting note status to pending review.
Instructions
Write a structured literature note directly to the Obsidian vault at 10-Literature/.md with proper YAML frontmatter and section headings.
The note is created with status "pending-review". Call workflow_confirm_review after the human has checked the note.
Args: citekey: Better BibTeX citation key (used as filename, e.g. "wang2024deep"). metadata: Dict with keys — title, authors (list[str]), year, journal, doi, zotero_link. Use the 'item' dict from workflow_get_paper. sections: Dict mapping section keys to content strings. Recognized keys: one_line_summary, research_question, methods, results, contributions, limitations, relevance, highlights, further_reading Any key may be omitted; the heading is still written with a placeholder. overwrite: If False (default) and a note already exists, returns an error so you do not silently clobber a reviewed note.
Returns: {"success": bool, "path": str, "obsidian_link": str, "message": str}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| citekey | Yes | ||
| metadata | Yes | ||
| sections | Yes | ||
| overwrite | No |