uselink_create_document
Create a new draft document in your uselink workspace, optionally within a specific project or folder. Returns the document's id, slug, and edit URL for immediate access.
Instructions
Create a new draft document in the uselink workspace bound to the active PAT. Returns the created document including its id, slug, and edit URL. Content can be omitted and added later via uselink_update_document. Pass project_id and/or folder_id to drop the doc directly into that location; otherwise it lands in the user's default project at the root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Optional custom slug (default: derived from title) | |
| title | No | Document title (optional) | |
| format | No | Document format | markdown |
| content | No | Initial draft body (HTML or Markdown) | |
| folder_id | No | Target folder inside the project (default: project root) | |
| project_id | No | Target project (default: user's default project) |