Create managed documentation
project_doc_createCreate a managed Markdown document with a stable ID, routing it to the correct workspace folder and applying metadata like tags, owners, and status for easy retrieval and maintenance.
Instructions
Create a managed Markdown document with a stable DOC ID. Without an explicit folder the workspace docs.layout decides where it is written.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Markdown body, written below the frontmatter. | |
| kind | No | What sort of document this is — architecture, runbook, reference and so on. Project-declared, so the accepted values vary; project_workspace reports them. | |
| tags | No | Free-form tags for filtering. | |
| scope | No | Subject matter this document covers — topics, not file paths. | |
| title | Yes | What the document is about, in one line. | |
| folder | No | Folder below the managed docs root. Omit to let docs.layout decide; an empty string writes to the root. | |
| owners | No | Who is answerable for keeping this accurate. | |
| source | No | Where the content came from: a URL, a person, a meeting. | |
| status | No | Lifecycle status, typically draft or current. Project-declared, so the accepted values vary; project_workspace reports them. | |
| related | No | IDs of records worth reading alongside this one. | |
| supersedes | No | IDs of documents this replaces. They are marked superseded. | |
| review_after | No | Date after which this goes stale, YYYY-MM-DD. Defaults to docs.reviewIntervalDays from now. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | A canonical record with its body, revision and reference graph. |