Skip to main content

find_document

Look up a document by title or slug. Returns matching documents with their IDs so you can call get_document, edit_document, or update_document. Tries an exact slug match first, then a case-insensitive title search. If several titles match, the tool returns the candidates and asks you to pick an ID.

Parameters

Returns

JSON { "documents": [ … ] } in the same shape as list_documents, or an error if nothing matches.

Example

REST equivalent

  • Exact slug: GET /api/v1/documents?slug=…
  • Title search: GET /api/v1/documents?q=… (up to 20 results)

list_documents