kb_documents_create
Create a new document. slug is auto-generated from title when omitted. project_slug must exist; group_slugs are created on demand.
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": {
"title": "<title>",
"body_md": "<body_md>"
},
"name": "kb_documents_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | URL slug; auto-generated from title if absent | |
| title | Yes | Document title (required) | |
| body_md | Yes | Markdown body (required) | |
| group_slugs | No | Groups to tag the document with | |
| tenant_slug | No | Tenant slug to target. Required when your token grants several workspaces; omit when it grants one. If you omit it with several, the refusal names your default workspace; call kb_tenants_list to see every workspace the token grants. | |
| include_body | No | Echo the created body_md back (default false; you already have the body you sent). | |
| project_slug | No | Project to assign the document to | |
| document_date | No | Optional ISO 8601 date (YYYY-MM-DD) representing the date the document content is from — not the date this row was created. Omit for current-state documents authored natively in fss-kb; set for historical material like old emails or retired runbooks. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes |