sync_index
Force refresh the local search index for a course. Use only after external changes or sync failure to update stale search results.
Instructions
Force-refresh the local search index for a course. You usually do NOT need to call this — search_index auto-syncs when its index is missing or stale (>30 min). Call sync_index directly only to force an immediate refresh after known external changes (e.g. a bulk import you just performed, or to clear a stale-fallback after a previous sync failure). First sync of a large course may take several seconds (full thread download).
Args: course_id: The course ID (use list_courses to find it).
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": {
"course_id": "<course_id>"
},
"name": "sync_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |