aap_update_host
Update an existing Ansible Automation Platform host by changing its name, enabled status, variables, or description. Get the updated host ID and name.
Instructions
Update an existing AAP host (PATCH).
Args: params (UpdateHostInput): Fields to update.
Returns: str: JSON with updated host id and name.
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": {
"params": "<params>"
},
"name": "aap_update_host"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |