# ToolGun

**Description**\
Give the ToolGun APICustomItem to a target player or yourself.

**Command / Invocation**\
`uci toolgun <Player Id/Name>`

**Visible args**\
`<Player Id/Name>`

**Required permission**\
`uci.toolgun`

**Aliases**\
`tg`

**Example usage**\
`uci toolgun 1` — gives ToolGun to player id 1.\
`uci toolgun` — gives ToolGun to the command sender.

**Behavior notes**

* Looks up `APICustomItem` named `"ToolGun"` from API items and summons it to the target player or the sender.
* Validates target player presence and inventory space and that the target is not a spectator/destroyed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.uci.ucserver.it/uncomplicatedcustomitems/api/commands/admin-commands/toolgun.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
