jenkins_get_workspace_tree
List the current workspace tree of a Jenkins job. Limit results by depth and entry count to inspect files without tying to a specific build.
Instructions
List a bounded live workspace tree. Paths are not bound to a build number.
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": {
"job": "<job>"
},
"name": "jenkins_get_workspace_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | ||
| max_depth | No | ||
| max_entries | No | ||
| workspace_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes |