Create Basecamp Document
basecamp_create_documentCreate a new document in a Basecamp vault, specifying title, HTML content, and optionally saving as a draft.
Instructions
Create a new document in a vault.
HTML rules for content:
Allowed tags: p, span, h2, h3, h4, br, strong, em, strike, code, a (with href attribute), pre, ol, ul, li, blockquote, mark, figure, figcaption, table, tbody, tr, th, td, div, bc-attachment.
Use for paragraphs. Use for empty line spacing between paragraphs.
Headings: use , , as appropriate.
Inline code: text. Preformatted blocks: text.
Ordered lists: .... Unordered: ....
Tables: Heading...Cell...
To mention people:
Single image:
Image gallery: wrap multiple in a .
Basecamp auto-enriches bc-attachment tags after saving (adds url, href, filename, content-type, etc.) — you never need to write those.
To consume less tokens, existing tags can be rewritten keeping only: sgid, presentation, caption. For mentions also keep content-type="application/vnd.basecamp.mention". Drop everything else including inner HTML.
Background highlights: ...
Text color highlights: ...
For both, N is 1 (yellow), 2 (amber), 3 (red), 4 (pink), 5 (purple), 6 (blue), 7 (teal), 8 (near-white), or 9 (light gray).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault_id | Yes | Vault ID to create the document in | |
| title | Yes | Document title | |
| content | Yes | HTML document content | |
| status | No | Document status. Use "active" to publish, "drafted" to save as an unpublished draft. | active |