resync-knowledge
Recrawl a website or re-index a file to refresh an agent's knowledge source after content changes. Provide the agent ID and file ID from list-knowledge.
Instructions
Read a knowledge source again: a website is crawled again from the web (e.g. after the site changed), a file is re-indexed. Get the fileId from list-knowledge.
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": {
"agentId": "<agentId>",
"fileId": "<fileId>"
},
"name": "resync-knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The knowledge source ID (fileId from list-knowledge) | |
| agentId | Yes | The agent ID |