Metis · Librarian — Set Knowledge Layer Enabled
set_knowledge_layer_enabledEnable or disable a knowledge layer to include or exclude its documents from searches across all layers; disabled layers stay stored and remain reachable by explicit search.
Instructions
Turn a knowledge background layer on or off for searching.
A disabled layer is skipped when a question searches "all" layers, so its
documents stop influencing answers — useful when a background is off-topic for
the work at hand. It is not deleted, and naming it explicitly in a search still
reaches it.
Args:
database: The layer's slug (e.g. 'ph-background', 'hat-specialist').
enabled: True to include it in searches, False to exclude it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | No | ||
| database | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |