Documents
Create, search, and manage documents and the workspace newsfeed.
7 tools
# search_docs
Search documents by title and project
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| q | string | ● | Search query |
| project_id | string | — | Filter by project |
# get_doc
Get a document by ID
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| doc_id | string | ● | Document ID |
# create_doc
Create a new document
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| project_id | string | — | Project ID |
| title | string | ● | Document title |
| body_md | string | ● | Markdown body |
# update_doc
Update a document's title or body
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| doc_id | string | ● | Document ID |
| title | string | — | New title |
| body_md | string | — | New markdown body |
# archive_doc
Archive a document
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| doc_id | string | ● | Document ID |
# list_docs
List documents with filters
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| type | string | — | Filter by type |
| archived | boolean | — | Include archived |
| limit | integer | — | Max results |
| offset | integer | — | Offset |
# list_newsfeed
List recent newsfeed entries
| Parameter | Type | Required | Description |
|---|---|---|---|
| workspace_id | string | ● | Workspace ID |
| limit | integer | — | Max results |
| offset | integer | — | Offset |