# sm.tool.forceTool

Force equip a tool for the local player. Pass nil to unforce an already forced tool.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.tool.forceTool( tool )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.tool.md#forcetool)

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `tool` | [Tool](../Game-Script-Environment/Userdata/Tool.md) | The tool. |
