Create Knowledge Library
create_knowledge_libraryCompress large documents, codebases, or research papers into a knowledge library, reducing size 15-60× while preserving complete data integrity.
Instructions
Creates a new knowledge library by compressing text using gravitational memory. The text is split into chunks and compressed 15-60× while maintaining 100% data integrity. Perfect for large documents, codebases, or research papers.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"text": "<text>"
},
"name": "create_knowledge_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique name for the knowledge library (e.g., 'react-docs', 'ml-papers') | |
| text | Yes | The text content to compress into a knowledge library | |
| n_max | No | Maximum orbital level for gravitational compression (higher = more compression, default: 15) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created_at | Yes | ||
| total_words | Yes | ||
| library_name | Yes | ||
| chunks_created | Yes | ||
| compression_ratio | Yes |