generic_aap_api
Access any AAP Controller API endpoint directly with proper authentication to manage jobs, inventories, workflows, and system resources through HTTP methods.
Instructions
Generic AAP Controller API access tool. Provides direct access to any AAP Controller API endpoint with proper authentication.
Examples:
GET /jobs/: method="GET", endpoint="jobs/"
GET /inventories/2/hosts/: method="GET", endpoint="inventories/2/hosts/"
POST /job_templates/5/launch/: method="POST", endpoint="job_templates/5/launch/", data={"extra_vars": {"var1": "value1"}}
GET /analytics/job_explorer/: method="GET", endpoint="analytics/job_explorer/", params={"period": "month"}
GET /jobs/123/stdout/: method="GET", endpoint="jobs/123/stdout/", get_stdout=true
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": {
"method": "<method>",
"endpoint": "<endpoint>"
},
"name": "generic_aap_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | HTTP method: GET, POST, PATCH, DELETE | |
| endpoint | Yes | API endpoint path (e.g., 'analytics/job_explorer/', 'jobs/', 'inventories/1/') | |
| data | No | Request body data for POST/PATCH requests | |
| params | No | Query parameters for GET requests | |
| get_stdout | No | Use stdout format for job/adhoc output endpoints |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||