Skip to main content
Glama

doc_connect

Connect documents to AI agents by linking them to the agent's knowledge base for enhanced information access and processing.

Instructions

Connect/link a document to a Pickaxe agent, adding it to 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 connect
pickaxeIdYesThe Pickaxe agent ID to connect the document to

Implementation Reference

  • The execution handler for the 'doc_connect' tool. It calls the Pickaxe API endpoint /studio/document/connect with POST to link a document to an agent.
    case "doc_connect": { const result = await pickaxeRequest("/studio/document/connect", "POST", { documentId: args.documentId, pickaxeId: args.pickaxeId, }, studio); return JSON.stringify(result, null, 2); }
  • The input schema and metadata definition for the 'doc_connect' tool, registered in the tools list for MCP discovery.
    { name: "doc_connect", description: "Connect/link a document to a Pickaxe agent, adding it to the agent's knowledge base.", inputSchema: { type: "object", properties: { studio: studioParam, documentId: { type: "string", description: "The document ID to connect", }, pickaxeId: { type: "string", description: "The Pickaxe agent ID to connect the document to", }, }, 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