Delete a knowledge base
workbench_kb_deleteDeletes a knowledge base and everything in it. Flows that search it will find nothing — check which agents use it (the user knows; the KB page in Workbench lists them) and say so before proposing. May return needs_confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kbId | Yes | Knowledge base id, from workbench_kb_list. | |
| workspace | No | Workspace slug. Personal tokens with no default workspace MUST pass this; tokens with a default can override per call. Ignored for workspace API keys. | |
| approvalId | No | Approval id from a prior needs_confirmation response. Omit on the first call. |