connect_knowledge_base
Save a local configuration and index selected documents into a persistent knowledge base once a previewed scope is confirmed.
Instructions
After the user confirms the previewed scope, save a local configuration and index the documents.
Pass the preview_id and identical patterns; changed scope requires a fresh preview and confirmation. The new knowledge base becomes available in this service immediately and survives restarts.
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>",
"preview_id": "<preview_id>",
"confirmed": "<confirmed>"
},
"name": "connect_knowledge_base"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | ||
| kb_id | Yes | ||
| exclude | No | ||
| include | No | ||
| confirmed | Yes | ||
| preview_id | Yes |