Pause, resume or stop crawling
control_crawlPause, resume, or stop local YaCy crawls to manage indexing. Pausing holds the crawler queue, resuming continues it, and stopping ends a specific crawl and drops its queued URLs.
Instructions
Control crawling on your YaCy peer: 'pause' holds the local crawler queue (no new pages are fetched), 'resume' continues it, 'stop' ends one crawl (give its handle from list_crawls) and drops its queued URLs. Pages that were already indexed stay in the index; remove single pages with delete_document. Only act on crawls the user asked about. Returns the action taken and the crawls still listed. Needs YACY_ADMIN_PASSWORD.
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": {
"action": "<action>"
},
"name": "control_crawl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | 'pause' or 'resume' the local crawler queue, or 'stop' one crawl | |
| handle | No | for 'stop': the crawl's handle as listed by list_crawls |