ecosystem_claim_shallow
Claim the next queued repository for shallow scanning with an atomic 60-minute lease, returning repo metadata to prevent duplicate work and extra lookup calls.
Instructions
Claim the next queued repo for shallow scanning (stage_status='queued').
Atomic: only one worker gets each row; others get {"claimed": false}. The claim is a 60-minute lease: a row still unfinished after that can be claimed by another worker. The result includes repo_full_name, topics, description, owner, stars and last_commit_at, so no separate ecosystem_repo_get call is needed.
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": {
"worker_id": "<worker_id>"
},
"name": "ecosystem_claim_shallow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| worker_id | Yes | Unique worker identifier string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||