jenkins_get_json
Fetch Jenkins JSON API data using a relative path, while rejecting external URLs and traversal to ensure secure access.
Instructions
GET a relative Jenkins JSON API path. Rejects external URLs and traversal.
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": {
"path": "<path>"
},
"name": "jenkins_get_json"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| query | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes |