Look up a repository by name
lookup_repositoryResolve an owner/name pair to a numeric repository id for Woodpecker CI. Use this id with other repository tools; unactivated repositories return a 404, so search with list_repositories instead.
Instructions
Resolves an "owner/name" pair to a repository id. Every other repository tool takes the numeric id, and this is how you get one. A repository that exists in the forge but was never activated in Woodpecker answers 404 — use list_repositories with include_inactive to find it.
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": {
"full_name": "<full_name>"
},
"name": "lookup_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full_name | Yes | Full repository name in "owner/name" form. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |