list_repos
List the accounts (repositories) hosted on a PDS, via com.atproto.sync.listRepos: each repo's DID and active/takedown status, paginated. Answers 'who is hosted on this PDS?' / 'how many accounts does this PDS have?'. By default returns DIDs only (one request, large page — best for counting); pass enrich=true to also resolve handles (slower, smaller page). Input is the PDS origin (e.g. https://pds.example.com). Works for any PDS.
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": {
"pds": "<pds>"
},
"name": "list_repos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pds | Yes | A PDS origin URL, e.g. https://pds.example.com. | |
| limit | No | Page size (1-1000, default 1000). With enrich=true the effective page is capped near 20 (each DID is resolved to a handle). Use the returned cursor for the next page. | |
| cursor | No | Pagination cursor from a previous call. | |
| enrich | No | Resolve each DID to its handle. Default false — returns DIDs only in ONE request (large page, the fast path for listing/counting). Set true only when you need handles (slower, smaller page). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||