Skip to content

Document Tools

List documents with optional filtering by folder, title, or text content.

ParameterTypeRequiredDescription
folderstringNoFilter by folder (dart_id or name)
title_containsstringNoFilter by title substring (case-insensitive)
text_containsstringNoFilter by text content substring (case-insensitive)
limitintegerNoMax docs to return (default: 50, max: 500)
offsetintegerNoPagination offset (default: 0)

Returns an array of document objects with doc_id, title, folder, and metadata. Text content is not included in list results — use get_doc for full content.

List all documents:

list_docs()

Find documents in a folder matching a keyword:

list_docs({
folder: "Engineering",
title_contains: "architecture"
})

Search document content:

list_docs({
text_contains: "deployment process",
limit: 10
})

Create a new document with markdown content.

ParameterTypeRequiredDescription
titlestringYesDocument title
textstringYesDocument text content (markdown supported)
folderstringNoFolder dart_id or name

Returns the created document with doc_id, title, and folder.

Create a simple document:

create_doc({
title: "Sprint Retrospective",
text: "## What went well\n\n- Shipped feature X on time\n\n## What to improve\n\n- Better test coverage"
})

Create a document in a folder:

create_doc({
title: "API Design Guide",
text: "# API Design Guide\n\nAll endpoints must follow REST conventions...",
folder: "Engineering"
})

Retrieve a document by its doc_id with full text content.

ParameterTypeRequiredDescription
doc_idstringYesDocument doc_id

Returns the full document object including doc_id, title, text, folder, created_at, and updated_at.

get_doc({ doc_id: "duid_doc123" })

Update a document’s title, text, or folder. Only sends changed fields.

ParameterTypeRequiredDescription
doc_idstringYesDocument doc_id
updatesobjectYesFields to update
updates.titlestringNoNew title
updates.textstringNoNew text content (markdown)
updates.folderstringNoNew folder (dart_id or name)

Returns the updated document object.

Update document content:

update_doc({
doc_id: "duid_doc123",
updates: {
text: "# Updated Guide\n\nNew content with latest standards."
}
})

Move document to a different folder:

update_doc({
doc_id: "duid_doc123",
updates: { folder: "Archive" }
})

Move a document to trash. Recoverable from the Dart web UI.

ParameterTypeRequiredDescription
doc_idstringYesDocument doc_id

Returns confirmation with the deleted document’s doc_id and title.

delete_doc({ doc_id: "duid_doc123" })