Get View
get_viewFetch a Jenkins view by path to inspect its jobs and nested sub-views; use / to separate levels and drill down.
Instructions
Get a Jenkins view by path, returning its jobs and/or nested sub-views.
Views can be nested up to multiple levels deep. Use "/" to separate levels in the path. If the view contains sub-views instead of jobs, the response will include their names so you can drill down further.
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": {
"view_path": "<view_path>"
},
"name": "get_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Accepted for compatibility and ignored: views are always returned compact. | |
| view_path | Yes | View path using "/" to separate levels. Examples: "All", "frontend", "frontend/nightly". Spaces and special characters in view names are handled automatically. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||