Function
| Arg | Description | Type |
|---|---|---|
| tool | string (required) | |
| serve_locally | bool | |
| url | string | |
| hash | string | |
| filename | The name of the file on the endpoint | string |
| version | string | |
| file | An optional file to upload | OSPath |
| accessor | The accessor to use to read the file. | string |
Add or reconfigure a tool into the inventory.
Note that if you provide a file to override the tool it must be readable by the server (so the file must reside on the server or be accessible over a network share).