Create Document
create_docCreate a new document in a monday.com workspace or attach one to an item, then import markdown content into it.
Instructions
Create a new monday.com doc either inside a workspace or attached to an item (via a doc column). After creation, the provided markdown will be appended to the document.
LOCATION TYPES:
workspace: Creates a document in a workspace (requires workspace_id, optional doc_kind, optional folder_id, optional docOwnerIds)
item: Creates a document attached to an item (requires item_id, optional column_id, optional docOwnerIds)
USAGE EXAMPLES:
Workspace doc: { location: "workspace", workspace_id: 123, doc_name: "My Doc", doc_kind: "private" , markdown: "..." }
Workspace doc in folder: { location: "workspace", workspace_id: 123, doc_name: "My Doc", folder_id: 17264196 , markdown: "..." }
Item doc: { location: "item", item_id: 456, doc_name: "My Doc", column_id: "doc_col_1" , markdown: "..." }
Workspace doc with agent owner: { location: "workspace", workspace_id: 123, doc_name: "My Doc", markdown: "...", docOwnerIds: [""] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_name | Yes | Name for the new document. | |
| markdown | Yes | Markdown content that will be imported into the newly created document as blocks. | |
| location | Yes | Location where the document should be created - either in a workspace or attached to an item | |
| docOwnerIds | No | Optional list of user IDs to set as document owners at creation time. Use this to add the agent owner so they retain access to the document. Ownership is set inside the creation mutation itself, bypassing the permission checks that would block a subsequent add_subscribers_to_object call. | |
| workspace_id | No | [REQUIRED - use only when location="workspace"] Workspace ID under which to create the new document | |
| doc_kind | No | [OPTIONAL - use only when location="workspace"] Document kind (public/private/share). Defaults to public. | |
| folder_id | No | [OPTIONAL - use only when location="workspace"] Optional folder ID to place the document inside a specific folder | |
| item_id | No | [REQUIRED - use only when location="item"] Item ID to attach the new document to | |
| column_id | No | [OPTIONAL - use only when location="item"] ID of an existing "doc" column on the board which contains the item. If not provided, the tool will create a new doc column automatically when creating a doc on an item. |