Documents

Create, search, and manage documents and the workspace newsfeed.

9 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

# get_doc_body

Read the markdown body of a document from git. Returns { body, commit_sha }.

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, body, or labels

Parameter Type Required Description
workspace_id string ● Workspace ID
doc_id string ● Document ID
title string — New title
body_md string — New markdown body
labels array — Free-form labels — replaces the full set. Omit to leave unchanged; empty array clears all.

# 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
labels_in array — Filter to documents carrying any of these labels
archived boolean — Include archived
limit integer — Max results
offset integer — Offset

# list_labels

List the distinct free-form labels in use across tickets and documents, with usage counts. Optional project_id scopes to one project; optional kind is tickets|documents|all (default all).

Parameter Type Required Description
workspace_id string ● Workspace ID
project_id string — Optional project ID to scope to
kind string — tickets|documents|all (default all)

# list_newsfeed

List recent newsfeed entries

Parameter Type Required Description
workspace_id string ● Workspace ID
limit integer — Max results
offset integer — Offset