Create a knowledge base
workbench_kb_createCreates an empty knowledge base. Recipe 'docs' (default) for reference material an agent searches at runtime; 'tabular' for spreadsheet-style data queried with SQL; 'graph' for entity/relationship extraction. After creating, add content with workbench_kb_add_documents, then attach the KB to an agent in the Workbench editor (or tell the user to). May return needs_confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Knowledge base name (1-200 chars). | |
| recipe | No | Default 'docs'. | |
| workspace | No | Workspace slug override. | |
| approvalId | No | Approval id from a prior needs_confirmation envelope. | |
| visibility | No | Who can see it: PRIVATE (only the user), WORKSPACE (every member, the default), or SHARED (specific people, granted afterwards). Say 'make it private' → PRIVATE. | |
| description | No |