Skip to main content
Glama

doc_list

Retrieve and browse documents from the Pickaxe studio with pagination controls to manage large collections efficiently.

Instructions

List all documents in the Pickaxe studio with pagination.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
studioNoStudio name to use. Available: STAGING, MAIN, DEV, PRODUCTION. Default: PRODUCTION
skipNoNumber of documents to skip. Default: 0
takeNoNumber of documents to return. Default: 10

Implementation Reference

  • src/index.ts:210-227 (registration)
    Registration of the 'doc_list' tool in the tools array, including name, description, and input schema definition.
    { name: "doc_list", description: "List all documents in the Pickaxe studio with pagination.", inputSchema: { type: "object", properties: { studio: studioParam, skip: { type: "number", description: "Number of documents to skip. Default: 0", }, take: { type: "number", description: "Number of documents to return. Default: 10", }, }, }, },
  • Input schema for the 'doc_list' tool defining parameters for studio, skip, and take.
    inputSchema: { type: "object", properties: { studio: studioParam, skip: { type: "number", description: "Number of documents to skip. Default: 0", }, take: { type: "number", description: "Number of documents to return. Default: 10", }, }, },
  • Handler implementation for 'doc_list' tool that makes a GET request to Pickaxe API for listing documents with pagination and returns JSON result.
    case "doc_list": { const skip = args.skip ?? 0; const take = args.take ?? 10; const result = await pickaxeRequest(`/studio/document/list?skip=${skip}&take=${take}`, "GET", undefined, studio); return JSON.stringify(result, null, 2); }

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/aplaceforallmystuff/mcp-pickaxe'

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