List Jobs
list_jobsList Jenkins jobs recursively, including folders and multibranch projects, and filter by folder, build status, or name to find relevant jobs across instances.
Instructions
List jobs recursively (folders and multibranch projects are expanded). folder: start below this folder, e.g. 'cd' or 'release'. Empty = whole instance. status: comma list filter on the last build: SUCCESS, FAILURE, UNSTABLE, ABORTED, NOT_BUILT, BUILDING, DISABLED. name_contains: case-insensitive substring filter on the full job name. Each row: 'full/job/name | STATUS #lastBuild | age'. Uses few API calls (no per-job requests).
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_jobs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| folder | No | ||
| status | No | ||
| instance | No | Jenkins instance name from list_instances. Empty = default instance. | |
| name_contains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||