save_draft
Save markdown drafts locally without transmission. Target one or more platforms for later publishing. Returns draft ID, title, creation time, and optional platforms.
Instructions
Save markdown content as a local draft in ~/.pipepost/drafts/ (machine-local, never transmitted). FREE. Drafts can target one or more platforms for later publishing via 'publish' or 'cross_publish'. Returns: { id, title, created_at, platforms?: string[] }. Common errors: missing 'content' (VALIDATION_ERROR), filesystem write failure (PLATFORM_ERROR).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Draft title | |
| content | Yes | Draft content in markdown | |
| platforms | No | Target platforms: devto, ghost, hashnode, wordpress, medium | |
| tags | No | Tags for the draft | |
| status | No | Draft status | draft |