List repositories
list_repositoriesLists the workspace's code repositories on Upstream that the person can open.
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": {
"workspace": "<workspace>"
},
"name": "list_repositories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| cursor | No | nextCursor from the previous page. | |
| search | No | ||
| workspace | Yes | Workspace slug from workspaces.list, e.g. "acme". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nextCursor | Yes | ||
| repositories | Yes |