Check a repository
preview_repoDry run of importing a GitHub, GitLab or Bitbucket repository: language detected, file count, whether it has a kendor.yaml, and anything Kendor can’t run. Creates nothing. Private repos work when the organization connected its git host. Uses Kendor’s repository import (https://kendor.io/docs/repo-import/import-from-any-git-host).
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": {
"url": "<url>"
},
"name": "preview_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Branch, tag or commit; default branch if left out | |
| url | Yes | Repository URL, or owner/repo for GitHub | |
| subdir | No | Folder inside the repo to use as the root |