List forges
list_forgesAdmin-only: list configured forges to retrieve forge IDs needed for user management operations.
Instructions
Lists the forges this Woodpecker authenticates against. Admin only. The forge_id shown here is what get_user and delete_user require.
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": "list_forges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1. | |
| per_page | No | Entries per page (1 … 50). Woodpecker clamps anything above 50 without saying so. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncated | No | Present only when the answer was shortened to fit the budget. |