Skip to main content
Glama

doc_disconnect

Remove documents from a Pickaxe agent's knowledge base to manage content access and update information sources.

Instructions

Disconnect/unlink a document from a Pickaxe agent, removing it from the agent's knowledge base.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
studioNoStudio name to use. Available: STAGING, MAIN, DEV, PRODUCTION. Default: PRODUCTION
documentIdYesThe document ID to disconnect
pickaxeIdYesThe Pickaxe agent ID to disconnect the document from

Implementation Reference

  • Handler for the 'doc_disconnect' tool. It calls the pickaxeRequest helper to POST to '/studio/document/disconnect' with documentId and pickaxeId, returning the JSON result.
    case "doc_disconnect": { const result = await pickaxeRequest("/studio/document/disconnect", "POST", { documentId: args.documentId, pickaxeId: args.pickaxeId, }, studio); return JSON.stringify(result, null, 2);
  • Tool definition including name, description, and input schema for 'doc_disconnect'. Requires documentId and pickaxeId; studio optional.
    { name: "doc_disconnect", description: "Disconnect/unlink a document from a Pickaxe agent, removing it from the agent's knowledge base.", inputSchema: { type: "object", properties: { studio: studioParam, documentId: { type: "string", description: "The document ID to disconnect", }, pickaxeId: { type: "string", description: "The Pickaxe agent ID to disconnect the document from", }, }, required: ["documentId", "pickaxeId"], },

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