add_text_file
Add a text file to the docs directory by specifying a URL and a document name, enabling integration into the MCP Docs RAG Server for context-aware LLM queries.
Instructions
Add a text file to the docs directory with a specified name. Please do not use 'docs' in the document name.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
document_name | Yes | Name of the document (will be used as directory name). Choose a descriptive name rather than using the URL filename (e.g. 'hono' instead of 'llms-full.txt') | |
file_url | Yes | URL of the text file to download |
Input Schema (JSON Schema)
{
"properties": {
"document_name": {
"description": "Name of the document (will be used as directory name). Choose a descriptive name rather than using the URL filename (e.g. 'hono' instead of 'llms-full.txt')",
"type": "string"
},
"file_url": {
"description": "URL of the text file to download",
"type": "string"
}
},
"required": [
"file_url",
"document_name"
],
"type": "object"
}