# system.kanoa.tooling.updateTool(toolInfo, userId)

Updates a tool's asset fields and tooling info. Every field is saved as given (a None limit means no limit), so pass the whole tool. Refused for a name another tool in the same site already has, including after a move to another site. Also refused for turning off hasPositions while the tool has positions, or holdsInserts while it has pockets.

---

### Parameters

**toolInfo** `Dictionary`: The keys addTool takes, plus toolingAssetId (Integer, required)<br />

**userId** `Integer`: The user making the change<br />

---

### Returns

**(1, message)**<br />

---

### Example

```python
toolInfo = {}
userId = 5
result1, result2 = system.kanoa.tooling.updateTool(toolInfo, userId)
```
