lspace_add_content
Add text snippets, files, or URLs to the Lspace MCP Server for automated knowledge base generation. Specify repository ID, content type, and details to organize and store information efficiently.
Instructions
🚀 CREATE: Add content for automatic knowledge base generation. This is the PRIMARY tool for adding ANY content to lspace. Example: repositoryId='b3fcb584-5fd9-4098-83b8-8c5d773d86eb', inputType='text_snippet', content='My documentation text', title='New Guide'
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | No | The actual content text (for text_snippet) or file content (for file_upload). For files, use base64 encoding for binary data. | |
fileName | No | File name (REQUIRED for file_upload type). Example: 'my-document.md' | |
inputType | Yes | Content type: 'text_snippet' for text, 'file_upload' for files, 'web_url' to fetch from URL. | |
metadata | No | Optional metadata like tags, categories, etc. | |
repositoryId | Yes | The ID of the Lspace repository. Use 'lspace_list_repositories' first to get repository IDs. | |
title | No | Optional title for the content. Example: 'Installation Guide', 'Meeting Notes' | |
url | No | The URL to fetch content from (REQUIRED for web_url type). Example: 'https://example.com/doc' | |
user | No | Optional user identifier. Example: 'john.doe' |