ecosystem_claim_shallow
Atomically claims the next queued repository for shallow scanning so only one worker processes it; returns repo metadata to skip a separate lookup.
Instructions
Claim the next queued repo for shallow scanning (stage_status='queued').
Atomic: only one worker gets each row; others get {"claimed": false}. v1.7.0: also returns repo_full_name, topics, description, owner, stars, last_commit_at so workers can skip a separate ecosystem_repo_get call.
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 | |||