Update knowledge source
asks_update_sourceOverwrites a text/Q&A source's content (the previous text is gone and it retrains at once), renames it, turns it on/off for the AI, or changes a website's crawl settings. A website URL can't change — delete and recreate. Treat a content change as destructive: confirm before overwriting text the user may not have a copy of.
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_id": "<source_id>"
},
"name": "asks_update_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name. | |
| answer | No | qna: replacement answer. | |
| content | No | text: replacement content. | |
| refresh | No | website: automatic re-crawl cadence (as shown by asks_get_source). | |
| max_pages | No | ||
| questions | No | ||
| source_id | Yes | The knowledge source id (from a list/search tool — never guess it). | |
| ai_enabled | No | Whether the AI agent uses this source. | |
| include_urls | No | ||
| exclude_paths | No |