list_task_ansible_hosts
Retrieve the Ansible hosts associated with a specific task in a Semaphore UI project by supplying the project and task IDs.
Instructions
Get Ansible Task Hosts. GET /project/{project_id}/tasks/{task_id}/ansible/hosts.
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": {
"project_id": "<project_id>",
"task_id": "<task_id>"
},
"name": "list_task_ansible_hosts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| project_id | Yes |