kb_groups_detach_document
Remove a document from a group. Idempotent — no-op if the document is not in the group.
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": {
"group_slug": "<group_slug>",
"document_id": "<document_id>"
},
"name": "kb_groups_detach_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_slug | Yes | Group slug | |
| document_id | Yes | Document id | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detached | Yes | ||
| group_slug | Yes | ||
| document_id | Yes |