attach_template_inventory
Attach a specified inventory to a Semaphore UI project template by ID, enabling automation tasks to use the correct hosts and variables.
Instructions
Attach Inventory. POST /project/{project_id}/templates/{template_id}/inventory/{inventory_id}/attach.
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>",
"template_id": "<template_id>",
"inventory_id": "<inventory_id>"
},
"name": "attach_template_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| template_id | Yes | ||
| inventory_id | Yes |