Make the assistant forget a source
delete_knowledge_sourceDelete every passage Sparky learned from one source (an uploaded file, the websites, the social style, a taught text), so it really stops knowing it. Pass the exact source from list_knowledge_sources. Confirm with the human first. Website and social sources are re-learned on the next refresh, and the profile source when the profile is saved: to stop them for good, also remove the website or page from the brand profile with update_brand_profile.
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": {
"source": "<source>"
},
"name": "delete_knowledge_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The exact `source` value from list_knowledge_sources. | |
| workspaceId | No | ||
| idempotencyKey | No | Optional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice. |