preview_knowledge_base
Preview an absolute directory before connecting it to a knowledge base: see file counts, patterns, and sample paths without reading document text or saving config.
Instructions
Preview a user-supplied absolute directory without reading document text or saving configuration.
Show the file count, patterns and sample paths to the user before connecting. Defaults match Markdown.
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": {
"kb_id": "<kb_id>",
"root": "<root>"
},
"name": "preview_knowledge_base"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| kb_id | Yes | ||
| exclude | No | ||
| include | No |