Start repository analysis
analysis.startResolve a GitHub ref to an exact commit and start or reuse its immutable semantic repository analysis.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ref": "main",
"project_id": "project-id",
"repository_url": "https://github.com/acme/widget"
},
"name": "analysis.start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | branch, tag, or commit; defaults to the repository default branch | |
| project_id | No | project in the selected organization; omit only when the organization has one project | |
| repository_url | Yes | GitHub repository URL | |
| 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 |
|---|---|---|---|
| analysis | Yes |