List accessible GitHub repositories
sources.github.repositories.listList repositories accessible through an authorized project's stored GitHub connection. If disconnected, call sources.github.connection.get and wait for the user to authorize in the browser before retrying. Public repository validation and deployment do not require this tool.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sources.github.repositories.list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | one-based page; defaults to 1 | |
| per_page | No | repositories per page from 1 to 100; defaults to 50 | |
| project_id | No | project in the selected organization; omit only when the organization has one project | |
| organization_id | No | organization membership to use for this call; omit only when the account has one current membership |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repositories | Yes |