Skip to main content
Glama

list_archived_documents

Retrieve archived documents from Outline wiki to restore or review previous content. Specify a limit to control the number of documents returned.

Instructions

Get list of archived documents.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo

Implementation Reference

  • Handler function that fetches archived documents from the Outline API using the provided limit and formats the response using formatArchivedDocuments.
    async list_archived_documents(args: ListArchivedDocumentsInput) { const { data } = await apiCall(() => apiClient.post<OutlineDocument[]>('/documents.archived', { limit: args.limit }) ); return formatArchivedDocuments(data || []); },
  • Zod schema definition for the input of list_archived_documents tool, specifying an optional limit parameter defaulting to 25.
    export const listArchivedDocumentsSchema = z.object({ limit: limit.default(25) });
  • Mapping of the tool name 'list_archived_documents' to its Zod schema in the central toolSchemas object.
    list_archived_documents: listArchivedDocumentsSchema,
  • Registration of the 'list_archived_documents' tool in the allTools array, converting the Zod schema to JSON schema for MCP.
    createTool( 'list_archived_documents', 'Get list of archived documents.', 'list_archived_documents' ),

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/huiseo/outline-smart-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server